CVE-2022-37865Apache Ivy
Critical 9.1 No auth needed
Follow: this CVE · Apache · Apache Ivy We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Nov 7, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ivy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.ivy:ivy |
≥ 2.4.0 < 2.5.1 |
2.5.1 |
— |
Per OSV / GitHub Advisories (GHSA-94rr-4jr5-9h2p). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | ivy | ≥ 2.4.0 < 2.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- lists.fedoraproject.org