CVE-2022-25842
published medium CVSS 3.1 · 6.9Arbitrary File Write via Archive Extraction (Zip Slip)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | com.alibaba.oneagent:one-java-agent-plugin0 to < unspecified | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | com.alibaba.oneagent:one-java-agent-plugin | 0 to < unspecified (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary File Write via Archive Extraction (Zip Slip)
References
4- https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.java
- https://github.com/alibaba/one-java-agent/pull/29
- https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bf
- https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874
Provider assertions
2snyk · cna
Arbitrary File Write via Archive Extraction (Zip Slip)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3285647d9ea9d8dd44e210c7fc9c775d3ada488f1697400c01425acf36560346
- Ingested
- 23 Sep 2026, 07:59:05 UTC
- Source record
- Official CVE record