CVE-2022-25842Alibabagroup One-java-agent
Critical 9.8 No auth needed
Follow: this CVE · Alibabagroup · Alibabagroup One-java-agent We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- May 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for One-java-agent.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.alibaba.oneagent:one-java-agent-plugin |
< 0.0.2 |
0.0.2 |
— |
Per OSV / GitHub Advisories (GHSA-9hr3-j9mc-xmq2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| alibabagroup | one-java-agent | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- snyk.io Third Party Advisory