CVE-2022-37865

Apache Ivy allows creating/overwriting any file on the system

Published Nov 7, 2022 CVSS 3.1 · 9.1 Critical EPSS 2.1% KEV · Not listed
Description
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 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 2.5.1.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7292 Apache Ivy does not verify target path when extracting the archive
Github GHSA Github GHSA GHSA-94rr-4jr5-9h2p Apache Ivy does not verify target path when extracting the archive
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 2, 2025, 6:35 PM
Reserved
Aug 8, 2022, 12:00 AM
Status
Modified
Published
Nov 7, 2022, 11:15 AM
Modified
Jun 17, 2026, 4:55 AM
Severity
Moderate
Public date
Nov 7, 2022, 12:00 AM