ALAS2023-2023-174


Amazon Linux 2023 Security Advisory: ALAS-2023-174
Advisory Release Date: 2023-04-27 20:00 Pacific
Advisory Updated Date: 2023-05-03 13:23 Pacific
Severity: Important

Issue Overview:

A flaw was found in Apache Ivy. With Apache Ivy 2.4.0, an optional packaging attribute was introduced that allows artifacts to be unpacked on the fly if pack200 or zip packaging was used. This issue could allow a malicious user to have unwanted access. Ivy users of version 2.4.0 to 2.5.0 should upgrade to Ivy 2.5.1. (CVE-2022-37865)

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. (CVE-2022-37866)


Affected Packages:

apache-ivy


Issue Correction:
Run dnf update apache-ivy --releasever 2023.0.20230503 to update your system.

New Packages:
noarch:
    apache-ivy-2.5.1-1.amzn2023.0.1.noarch
    apache-ivy-javadoc-2.5.1-1.amzn2023.0.1.noarch

src:
    apache-ivy-2.5.1-1.amzn2023.0.1.src