Skip to main content
← All vulnerabilities
CVE-2022-37865GHSA-94RR-4JR5-9H2P

Apache Ivy allows creating/overwriting any file on the system

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Apache Software Foundation Apache Ivy

    From 2.4.0; through 2.5.0

  • org.apache.ivy:ivyMaven

    From 2.4.0 · fixed in 2.5.1

References 2

lists.apache.org

lists.fedoraproject.org