{"id":"CVE-2022-25842","published":"2022-05-01T15:25:39Z","modified":"2024-09-17T00:56:48Z","title":"Arbitrary File Write via Archive Extraction (Zip Slip)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03906,"percentile":0.9053,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMALIBABAONEAGENT-2407874","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/one-java-agent/blob/1f399a2299a8a409d15ea6111a7098629b8f1050/one-java-agent-plugin/src/main/java/com/alibaba/oneagent/utils/IOUtils.java","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/one-java-agent/pull/29","tags":["x_refsource_MISC"]},{"url":"https://github.com/alibaba/one-java-agent/pull/29/commits/359603b63fc6c59d8b57e061c171954bab3433bf","tags":["x_refsource_MISC"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":18.11},{"name":"CVSS severity","points":4.83}]},"affectedVersions":[{"vendor":"n/a","product":"com.alibaba.oneagent:one-java-agent-plugin","versions":["< unspecified"]}],"affected":[{"ecosystem":"Maven","package":"com.alibaba.oneagent:one-java-agent-plugin","vulnerableRanges":["<0.0.2"],"patched":["0.0.2"],"from":["GHSA-9hr3-j9mc-xmq2"],"provenance":"source"}],"summary":{"text":"The Java package com.alibaba.oneagent:one-java-agent-plugin, the Alibaba OneAgent plugin for Java, contains an archive extraction flaw (Zip Slip) in which filenames containing directory traversal sequences are not sanitised, letting entries be written outside the intended extraction directory. An attacker who can supply a specially crafted archive, with user interaction required and no authentication needed, can overwrite executable files and then trigger them remotely or wait for the system or a user to run them, achieving remote command execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:12Z"},"euvd":{"id":"EUVD-2022-3393","exploited":false,"provenance":"source"}}