CVE-2022-37865
published critical CVSS 3.1 · 9.1Apache Ivy allows creating/overwriting any file on the system
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Ivy2.4.0 to < unspecified · unspecified through 2.5.0 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | 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 | AL2023 | apache-ivynoarch | Listed in advisory | Not stated | ALAS2023-2023-174 |
| 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 5 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 | AL2023 | apache-ivysrc | Listed in advisory | Not stated | ALAS2023-2023-174 |
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.
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
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Ivy | 2.4.0 to < unspecified (affected · custom)unspecified through 2.5.0 (affected · custom) | apache · cna |
Weaknesses
2- allow create/overwrite any file on the syste
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- https://lists.apache.org/thread/gqvvv7qsm2dfjg6xzsw1s2h08tbr0sdy
- FEDORA-2023-35f775fd6e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS/
Provider assertions
3apache · cna
Apache Ivy allows creating/overwriting any file on the system
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b6d362dfe9f5961323fadd18742d67faa32c5585bf2ce988a1e1f0639a9ad07e
- Ingested
- 23 Sep 2026, 08:01:37 UTC
- Source record
- Official CVE record