Path Traversal in com.alibaba.oneagent:one-java-agent-plugin (CVE-2022-25842)
Summary
Path traversal in com.alibaba.oneagent:one-java-agent-plugin (CVE-2022-25842). Confidential information can be exposed externally. Mitigation: upgrade to 0.0.2 or later.
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-25842 has been found in com.alibaba.oneagent:one-java-agent-plugin.
Confidential information can be exposed externally.
What to do: upgrade com.alibaba.oneagent:one-java-agent-plugin to 0.0.2 or later.
If unsure, ask your IT team or search "com.alibaba.oneagent:one-java-agent-plugin CVE-2022-25842" on the vendor's site.
CVE-2022-25842 (com.alibaba.oneagent:one-java-agent-plugin) — CWE-22
Attack vector: remote (network-reachable) / unauthenticated
Patched: 0.0.2 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in com.alibaba.oneagent:one-java-agent-plugin.
Check the vendor advisory for the affected versions of com.alibaba.oneagent:one-java-agent-plugin.
Severity: ?. Confidential information can be exposed externally.
Update to 0.0.2.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.alibaba.oneagent:one-java-agent-plugin を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade com.alibaba.oneagent:one-java-agent-plugin to 0.0.2ステージング環境で 0.0.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web snyk.io