CVE-2022-25842 json
Arbitrary File Write via Archive Extraction (Zip Slip)
published 2022-05-01 4 y ago modified 2026-07-08 4 mo ago also GHSA-9hr3-j9mc-xmq2 , EUVD-2022-3393
- cvss
- 6.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.alibaba.oneagent:one-java-agent-plugin 0.0.2
- github.com/alibaba/one-java-agent#29 commit
- github.com/alibaba/one-java-agent#29 commit
- github.com/alibaba/one-java-agent#29 pull request
Exploit prediction
3.91% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.java referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L/E:P |
| CNA | 3.1 | 6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.alibaba.oneagent:one-java-agent-plugin | <0.0.2 |
0.0.2 |
Affected products
- n/a com.alibaba.oneagent:one-java-agent-plugin
Classification
References
-
github.com
/alibaba/one-java-agent/pull/29
web, patch, third-party-advisory
-
github.com
/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bf
web, third-party-advisory
-
github.com
/alibaba/one-java-agent/pull/29/commits/b5b437f9f4c8cbfe7bdbe266e975a4bd513c13fe
web
-
github.com
/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25842
advisory
-
github.com
/alibaba/one-java-agent
package
Sources
- CVE List CVE-2022-25842
- GitHub Advisory GHSA-9hr3-j9mc-xmq2
- NVD CVE-2022-25842
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.