Skip to main content
← All vulnerabilities
CVE-2022-25842GHSA-9HR3-J9MC-XMQ2SNYK-JAVA-COMALIBABAONEAGENT-2407874

Arbitrary File Write via Archive Extraction (Zip Slip)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.2
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a com.alibaba.oneagent:one-java-agent-plugin

    All versions

  • com.alibaba.oneagent:one-java-agent-pluginMaven

    fixed in 0.0.2

References 5

snyk.io

GitHub · alibaba/one-java-agent

GitHub · shoucheng3/alibaba__one-java-agent_CVE-2022-25842_0-0-1