CVE-2022-37866: apache software foundation apache ivy Path Traversal
Vulnerability summary
CVE-2022-37866 is a high (CVSS 7.5) Path Traversal vulnerability in apache software foundation apache ivy. EPSS estimates a 1.69% chance of exploitation in the next 30 days, higher than 76.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 4Timeline
- 07-11-2022PublishedVulnerability first disclosed.
- 01-05-2025Last modifiedVulnerability information updated.
Description
When Apache Ivy downloads artifacts from a repository it stores them in the local file system based on a user-supplied "pattern" that may include placeholders for artifacts coordinates like the organisation, module or version. If said coordinates contain "../" sequences - which are valid characters for Ivy coordinates in general - it is possible the artifacts are stored outside of Ivy's local cache or repository or can overwrite different artifacts inside of the local cache. In order to exploit this vulnerability an attacker needs collaboration by the remote repository as Ivy will issue http requests containing ".." sequences and a "normal" repository will not interpret them as part of the artifact coordinates. Users of Apache Ivy 2.0.0 to 2.5.1 should upgrade to Ivy 2.5.1.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.69%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
+0.03 pp
From 1.65% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- gradle-8All versions (No fix recorded)
- gradle-stage0< 8.0.1-r0
Wolfi2 products
- gradle-8All versions (No fix recorded)
- gradle-stage0< 8.0.1-r0
Apache1 product
- ivy≥ 2.0.0, < 2.5.1
Apache software foundation1 product
- apache ivy≥ 2.0.0, < unspecified | ≥ unspecified, ≤ 2.5.0
Org.apache.ivy1 product
- ivy≥ 2.0.0, < 2.5.1
5 vendors · 7 products