NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2022-25842 — one-java-agent-plugin

MEDIUMFix: alibaba/one-java-agent#29

CVE-2022-25842 is a medium-severity (CVSS 6.9) Path Traversal vulnerability in com.alibaba.oneagent:one-java-agent-plugin. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for com.alibaba.oneagent:one-java-agent-plugin — see the affected versions and patch details below.

Arbitrary File Write via Archive Extraction (Zip Slip)

Also known asGHSA-9hr3-j9mc-xmq2SNYK-JAVA-COMALIBABAONEAGENT-2407874
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs90th percentile — riskier than 90% of all scored CVEsHighest risk
2.21%2.94%3.67%4.41%2.7%3.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕com.alibaba.oneagent:one-java-agent-plugin

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.alibaba.oneagent:one-java-agent-pluginall versions0.0.2com.alibaba.oneagent:one-java-agent-plugin:0.0.2

Affected Products

1 product · 1 configurations
Application
one-java-agentalibabagroup
all
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.alibaba.oneagent:one-java-agent-plugin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.alibaba.oneagent:one-java-agent-plugin to 0.0.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-25842 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-25842 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2022-25842: one-java-agent — Fixed in 0.0.2