Apache Ivy allows creating/overwriting any file on the system
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Partial Red Hat: 1 fixed, 8 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Ivy | 2.4.0 and later; up to 2.5.0 | — | No fix listed | CNA |
| — | org.apache.ivy:ivy (Maven) | 2.4.0 to before 2.5.1 | 2.5.1 | Patch available | GHSA-94rr-4jr5-9h2p |
- Apache Ivy VendorApache Affected 2.4.0 and later; up to 2.5.0 Fixed in — No fix listed CNA
- org.apache.ivy:ivy (Maven) Vendor— Affected 2.4.0 to before 2.5.1 Fixed in 2.5.1 Patch available GHSA-94rr-4jr5-9h2p
Remediation
- Fix · GHSA-94rr-4jr5-9h2p org.apache.ivy:ivy (Maven) Fixed in 2.5.1 Advisory →
Red Hat 1 advisory
- RHSA-2023:2100 Released 2023-05-03 · Red Hat rating ImportantRed Hat Integration Camel for Spring Boot 3.20.1 security update
- RHINT Camel-Springboot 3.20.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Apache Ivy — FEDORA-2023-35f775fd6e
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2022-17607 Apache Ivy allows path traversal in the presence of a malicious repositoryPriority MEDIUM 43
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Applications 6 | Affected | No fix planned: Will not fix |
| Migration Toolkit for Runtimes | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat Integration Camel K 1 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| RHINT Camel-Springboot 3.20.1 | Fixed | RHSA-2023:2100 |
Not affected: 7 products
- A-MQ Clients 2
- Red Hat Data Grid 8
- Red Hat Integration Camel Quarkus 1
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Application Runtimes
- Red Hat Single Sign-On 7
Timeline
- 2026-10-02 Threatist record created from CVE-2022-37865
- 2026-10-03 Alias added: GHSA-94rr-4jr5-9h2p
References
Advisory 3
More Apache Ivy vulnerabilities
- TI-2022-23117 Apache Ivy: XML External Entity vulnerability in Apache Ivy CVSS 3.1HIGH 8.2
- TI-2022-17607 Apache Ivy allows path traversal in the presence of a malicious repository CVSS 3.1HIGH 7.5
- TI-2026-21046 Apache Ivy: PackagerResolver path traversal vulnerability CVSS 3.1MEDIUM 5.4
Sources
- CVE-2022-37865 · CVE Program
- CVE-2022-37865 · NVD
- FIRST EPSS
- GHSA-94rr-4jr5-9h2p · GitHub Advisory Database · CC BY 4.0
- CVE-2022-37865 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences