Vulnerability · Published May 1, 2022 · Assigned by snyk

CVE-2022-25842Arbitrary File Write via Archive Extraction (Zip Slip)

Medium 6.9

In plain English

A medium-severity security flaw in com.alibaba.oneagent:one-java-agent-plugin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.9Medium
Exploit odds (30 days)3.9%top 9.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.alibaba.oneagent:one-java-agent-plugin0.0.2GHSA-9hr3-j9mc-xmq2

Affected products (as reported)

VendorProductVersions
n/a com.alibaba.oneagent:one-java-agent-plugin 0 – before unspecified

References