Bug 2150011 (CVE-2022-37866) - CVE-2022-37866 : Apache Ivy: Ivy Path traversal
Summary: CVE-2022-37866 : Apache Ivy: Ivy Path traversal
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-37866
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2153785 2154275 2154276 2154277 2154278 2154279 2154282
Blocks: 2140157
TreeView+ depends on / blocked
 
Reported: 2022-12-01 15:32 UTC by Patrick Del Bello
Modified: 2023-05-03 19:16 UTC (History)
61 users (show)

Fixed In Version: apache ivy 2.5.1
Doc Type: ---
Doc Text:
A flaw was found in Apache Ivy. This may allow an attacker to place artifacts inside and outside of Ivy's repository and overwrite artifacts that the user will use later.
Clone Of:
Environment:
Last Closed: 2023-05-03 19:16:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2100 0 None None None 2023-05-03 14:06:33 UTC

Description Patrick Del Bello 2022-12-01 15:32:10 UTC
When 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.

Comment 5 Marian Rehak 2022-12-16 13:40:35 UTC
Created apache-ivy tracking bugs for this issue:

Affects: fedora-all [bug 2154282]

Comment 9 errata-xmlrpc 2023-05-03 14:06:30 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.20.1

Via RHSA-2023:2100 https://access.redhat.com/errata/RHSA-2023:2100

Comment 10 Product Security DevOps Team 2023-05-03 19:16:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-37866


Note You need to log in before you can comment on or make changes to this bug.