CVE-2022-37865

Apache Ivy allows creating/overwriting any file on the system

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.

Category

9.1
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.33%
Vendor Advisory fedoraproject.org Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Ivy
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-37865?
CVE-2022-37865 has been scored as a critical severity vulnerability.
How to fix CVE-2022-37865?
To fix CVE-2022-37865, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-37865 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-37865 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-37865?
CVE-2022-37865 affects Apache Software Foundation Apache Ivy.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.