CVE-2022-25842: All versions of package com.alibaba.oneagent:one-java-agent-plugin are vulnerable to Arbitrary File Write via
CVE-2022-25842 is a medium-severity flaw (CVSS 6.9) affecting one-java-agent. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 10%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 3.9% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2022-05-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-25842?
one-java-agent: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-25842 being exploited?
CVE-2022-25842 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-25842 affect?
CVE-2022-25842 affects one-java-agent. Severity is medium (CVSS 6.9). 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). Th
How urgent is CVE-2022-25842?
Priority 52/100. EPSS top 10%: very likely to be exploited; Public exploit reference