CVE-2022-25842
highpriority · attend · 50EPSS 0.039 · 90 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.9–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (3)
Products and version ranges known to be affected.
- Maven com.alibaba.oneagent:one-java-agent-plugin< 0.0.2osvUSpkg:maven/com.alibaba.oneagent/one-java-agent-plugin
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9hr3-j9mc-xmq2Path Traversal in com.alibaba.oneagent:one-java-agent-plugin2022-05-03ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
- CNNVD-202205-1799cnnvd
- EUVD-2022-3393enisa_euvd
- GHSA-9hr3-j9mc-xmq2enisa_euvd
- SNYK-JAVA-COMALIBABAONEAGENT-2407874osv
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-25842/cnnvd
- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.javacnnvd
- https://github.com/alibaba/one-java-agent/pull/29cnnvd
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bfcnnvd
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874cnnvd
- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.javaenisa_euvd
- https://github.com/alibaba/one-java-agent/pull/29enisa_euvd
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bfenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan