CVE-2022-25842
Arbitrary File Write via Archive Extraction (Zip Slip)
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Timeline
ID reserved
By snyk
- 2 months later
· 2 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L/E:P |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.9% · top 9.7% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Weakness
- Arbitrary File Write via Archive Extraction (Zip Slip)
- CWE-22 (opens in a new tab)All about CWE-22 and its CVEs
Affected products
com.alibaba.oneagent:one-java-agent-plugin
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.alibaba.oneagent:one-java-agent-pluginGHSA-9hr3-j9mc-xmq2 (opens in a new tab)
References (4)
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.java (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/one-java-agent/pull/29 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bf (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9hr3-j9mc-xmq2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25842)Record last updated .