Path Traversal in Apache Ivy

CVE-2022-37865

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.019 (78.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-37865: held from 0.018 to 0.019.

EPSS over last 30 days · oldest: 0.018 · newest: 0.019 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-37865?
CVE-2022-37865 is a critical-severity vulnerability in Apache Ivy, classified under Path Traversal. CVSS score: 9.1/10. Published 2022-11-07.
How severe is CVE-2022-37865?
Critical severity. CVSS v3 base score is 9.1 out of 10.