Security mailing lists by PureSourceCode

CVE-2022-37866

HIGH 7.5CVSS 3.1

Apache Ivy vulnerable to path traversal

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.

Published
7 Nov 2022
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-wv7w-rj2x-556x
Sources
NVDJSONOSV GHSA-wv7w-rj2x-556xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache ivy
cpe:2.3:a:apache:ivy:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.5.1 2.5.1
OSV Maven org.apache.ivy:ivy >= 2.0.0, < 2.5.1 2.5.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Nov 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.