Critical severityNVD Advisory· Published Nov 7, 2022· Updated May 2, 2025
Apache Ivy allows creating/overwriting any file on the system
CVE-2022-37865
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.ivy:ivyMaven | >= 2.4.0, < 2.5.1 | 2.5.1 |
Affected products
3- ghsa-coords2 versions
>= 2.4.0, < 2.5.1+ 1 more
- (no CPE)range: >= 2.4.0, < 2.5.1
- (no CPE)range: < 2.5.1-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-94rr-4jr5-9h2pghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS/mitrevendor-advisory
- nvd.nist.gov/vuln/detail/CVE-2022-37865ghsaADVISORY
- lists.apache.org/thread/gqvvv7qsm2dfjg6xzsw1s2h08tbr0sdyghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLSghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLSghsaWEB
News mentions
0No linked articles in our index yet.