CVE-2022-37866

Summary

CVECVE-2022-37866
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-07 14:15:00 UTC
Updated2023-11-07 03:49:00 UTC
DescriptionWhen Apache Ivy downloads artifacts from a repository it stores them in the local file system based on a user-supplied "pattern" that may include placeholders for artifacts coordinates like the organisation, module or version. If said coordinates contain "../" sequences - which are valid characters for Ivy coordinates in general - it is possible the artifacts are stored outside of Ivy's local cache or repository or can overwrite different artifacts inside of the local cache. In order to exploit this vulnerability an attacker needs collaboration by the remote repository as Ivy will issue http requests containing ".." sequences and a "normal" repository will not interpret them as part of the artifact coordinates. Users of Apache Ivy 2.0.0 to 2.5.1 should upgrade to Ivy 2.5.1.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Ivy All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 38 Update: apache-ivy-2.5.1-3.fc38 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 38 Update: apache-ivy-2.5.1-3.fc38 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
lists.apache.org/thread/htxbr8oc464hxrgroftnz3my70whk93b MISC lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: This issue was discovered by Kostya Kortchinsky of the Databricks Security Team.

Legacy QID Mappings

  • 284128 Fedora Security Update for apache (FEDORA-2023-35f775fd6e)
  • 355182 Amazon Linux Security Advisory for apache-ivy : ALAS2023-2023-174
  • 355699 Amazon Linux Security Advisory for apache-ivy : ALAS2-2023-2165
  • 357046 Amazon Linux Security Advisory for apache-ivy : ALAS-2024-1910

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report