ALAS2-2023-2059


Amazon Linux 2 Security Advisory: ALAS-2023-2059
Advisory Release Date: 2023-05-25 17:41 Pacific
Advisory Updated Date: 2023-06-01 23:37 Pacific
Severity: Medium

Issue Overview:

In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value. (CVE-2021-29425)


Affected Packages:

apache-commons-io


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update apache-commons-io to update your system.

New Packages:
noarch:
    apache-commons-io-2.4-12.amzn2.0.1.noarch
    apache-commons-io-javadoc-2.4-12.amzn2.0.1.noarch

src:
    apache-commons-io-2.4-12.amzn2.0.1.src