ADVISORIES

Vulnerability

CVE-2022-37865

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.

4 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • ALAS2023-2023-174

    Amazon Linux 2023 - ALAS2023-2023-174: Important priority package update for apache-ivy

    Important CVE-2022-37865CVE-2022-37866 Amazon Linux Updated 3 May 2023
  • GHSA-94rr-4jr5-9h2p

    Apache Ivy does not verify target path when extracting the archive

    Critical CVE-2022-37865 Maven Updated 2 May 2025
  • RHVEX-CVE-2022-37865

    apache-ivy: Directory Traversal

    Moderate CVE-2022-37865 Red Hat Updated 5 November 2026
  • openSUSE-SU-2024:12506-1

    apache-ivy-2.5.1-1.1 on GA media

    CVE-2022-37865CVE-2022-37866 openSUSE Updated 4 February 2026

References