CVE-2022-37865

published 7 Nov 2022 · updated 2 May 2025

Apache Ivy allows creating/overwriting any file on the system

9.1CriticalCVSS 9.1EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<=2.5.0, >=2.4.0 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-37865 severity on Zeptric[![CVE-2022-37865](https://zeptric.io/badge/cve/CVE-2022-37865.svg)](https://zeptric.io/cve/CVE-2022-37865)