MEDIUM 6.9 Maven

Path Traversal in com.alibaba.oneagent:one-java-agent-plugin

GHSA-9hr3-j9mc-xmq2 · CVE-2022-25842 · SNYK-JAVA-COMALIBABAONEAGENT-2407874

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes