{"id":"CVE-2022-37865","published":"2022-11-07T00:00:00Z","modified":"2025-05-02T18:35:06Z","title":"Apache Ivy allows creating/overwriting any file on the system","vendor":"Apache","product":"Apache Ivy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02139,"percentile":0.82471,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://lists.apache.org/thread/gqvvv7qsm2dfjg6xzsw1s2h08tbr0sdy","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDIFDL5WSBEKBUVKTABUFDDD25SBNJLS/","tags":["vendor-advisory"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":16.49},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Ivy","versions":[">= 2.4.0, < unspecified",">= unspecified, <= 2.5.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-02T18:34:25.664772Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.ivy:ivy","vulnerableRanges":[">=2.4.0, <2.5.1"],"patched":["2.5.1"],"from":["GHSA-94rr-4jr5-9h2p"],"provenance":"source"}],"summary":{"text":"Apache Ivy's extraction of zip, jar and war artifacts in versions prior to 2.5.1 does not validate target paths, so archives containing absolute paths or \"..\" traversal sequences are unpacked outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:03Z"},"euvd":{"id":"EUVD-2022-7292","exploited":false,"provenance":"source"}}