Loading HuntDB...

GHSA-94rr-4jr5-9h2p

GitHub Security Advisory

Apache Ivy does not verify target path when extracting the archive

✓ GitHub Reviewed CRITICAL Has CVE

Advisory Details

With Apache Ivy 2.4.0 an optional packaging attribute has been introduced that allows artifacts to be unpacked on the fly if they used
pack200 or zip packaging.

For artifacts using the "zip", "jar" or "war" packaging Ivy prior to version 2.5.1 doesn't verify the target path when extracting the archive. An archive containing absolute paths or paths that try to traverse "upwards" using ".." sequences can then write files to any location on
the local fie system that the user executing Ivy has write access to.

Ivy users of version 2.4.0 to 2.5.0 should upgrade to Ivy version 2.5.1.

Affected Packages

Maven org.apache.ivy:ivy
Affected versions: 2.4.0 (fixed in 2.5.1)

Related CVEs

Key Information

GHSA ID
GHSA-94rr-4jr5-9h2p
Published
November 7, 2022 12:00 PM
Last Modified
May 2, 2025 9:58 PM
CVSS Score
9.0 /10
Primary Ecosystem
Maven
Primary Package
org.apache.ivy:ivy
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 28, 2025 6:37 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.