CVE-2022-25842
All versions of package com.alibaba.oneagent:one-java-agent-plugin are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) using a specially crafted archive that holds directory traversal filenames (e.g. ../../evil.exe).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.76%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
All versions of package com.alibaba.oneagent:one-java-agent-plugin are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) using a specially crafted archive that holds directory traversal filenames (e.g. ../../evil.exe). The attacker can overwrite executable files and either invoke them remotely or wait for the system or user to call them, thus achieving remote command execution on the victim’s machine.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.76% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- alibabagroup/one-java-agent
- Source
- report@snyk.io
References
- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.javaExploit, Third Party Advisory
- https://github.com/alibaba/one-java-agent/pull/29Patch, Third Party Advisory
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bfThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874Third Party Advisory
- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.javaExploit, Third Party Advisory
- https://github.com/alibaba/one-java-agent/pull/29Patch, Third Party Advisory
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bfThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.