CVE-2022-37866
published high CVSS 3.1 · 7.5Apache Ivy allows path traversal in the presence of a malicious repository
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Ivy2.0.0 to < unspecified · unspecified through 2.5.0 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2165 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-174 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyaarch64 | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| Amazon Linux | AL2 | apache-ivynoarch | Listed in advisory | Not stated | ALAS2-2023-2165 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyppc64le | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivys390x | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivyx86_64 | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocaarch64 | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocppc64le | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocs390x | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-ivy-javadocx86_64 | Advisory build | 2.5.1-1.1 | OPENSUSE-SU-2024:12506-1 |
| Amazon Linux | AL2 | apache-ivysrc | Listed in advisory | Not stated | ALAS2-2023-2165 |
| Amazon Linux | AL2023 | apache-ivynoarch | Listed in advisory | Not stated | ALAS2023-2023-174 |
| Amazon Linux | AL2023 | apache-ivysrc | Listed in advisory | Not stated | ALAS2023-2023-174 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | 2.0.0 to < unspecified (affected · custom)unspecified through 2.5.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- https://lists.apache.org/thread/htxbr8oc464hxrgroftnz3my70whk93b
- FEDORA-2023-35f775fd6e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS/
Provider assertions
3apache · cna
Apache Ivy allows path traversal in the presence of a malicious repository
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6da6eaed14ceb7827229ef5c79323c3b83277de271635a183f5cef8c6a4340ed
- Ingested
- 23 Sep 2026, 08:01:37 UTC
- Source record
- Official CVE record