CVE-2022-37866 json
Apache Ivy allows path traversal in the presence of a malicious repository
published 2022-11-07 4 y ago modified 2026-09-10 1 mo ago also GHSA-wv7w-rj2x-556x , EUVD-2022-7457
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.ivy:ivy 2.5.1
- apache ivy 2.5.1
- apache-ivy openSUSE Tumbleweed 2.5.1-1.1
opensuse advisories openSUSE-SU-2024:12506-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-37866 updated cvss 7.5
Ivy: Ivy Path traversal
-
Red Hat Migration Toolkit for Applications 6 apache-ivy Red Hat Migration Toolkit for Runtimes org.freemarker-freemarker-2.3.31.redhat_00001-1 Red Hat Data Grid 8 apache-ivyaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 apache-ivy, apache-ivy-javadocaffected: no fix available
-
Red Hat Fuse 7 apache-ivyaffected: no fix planned “Will not fix”
-
Red Hat Integration Camel K 1 apache-ivyaffected: no fix available
-
Red Hat Integration Camel Quarkus 1 apache-ivyaffected: no fix planned “Will not fix”
-
Red Hat JBoss Data Grid 7 apache-ivy Red Hat JBoss Enterprise Application Platform 6 apache-ivyaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack apache-ivyaffected: no fix planned “Will not fix”
-
Red Hat Software Collections rh-maven36-apache-ivy, rh-maven36-apache-ivy-javadocaffected: no fix available
show 2 moreshow fewer
-
Red Hat RHINT Camel-Springboot 3.20.1fixed: vendor fix RHSA-2023:2100
-
Red Hat A-MQ Clients 2 apache-ivy Red Hat JBoss Enterprise Application Platform 7 apache-ivy Red Hat OpenShift Application Runtimes apache-ivy Red Hat Satellite 6 apache-ivy Red Hat Single Sign-On 7 apache-ivynot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.91% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.ivy:ivy | >=2.0.0, <2.5.1 |
2.5.1 |
Affected products
- Apache Software Foundation Apache Ivy
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS/
vendor-advisory
-
lists.apache.org
/thread/htxbr8oc464hxrgroftnz3my70whk93b
web, mailing-list, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-37866
advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS
web
Sources
- CVE List CVE-2022-37866
- GitHub Advisory GHSA-wv7w-rj2x-556x
- NVD CVE-2022-37866
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.