ALAS2-2022-1880


Amazon Linux 2 Security Advisory: ALAS-2022-1880
Advisory Release Date: 2022-12-01 20:31 Pacific
Advisory Updated Date: 2022-12-06 22:42 Pacific
Severity: Medium

Issue Overview:

When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected. (CVE-2021-36374)


Affected Packages:

ant


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 ant to update your system.

New Packages:
noarch:
    ant-1.9.16-1.amzn2.0.1.noarch
    ant-jmf-1.9.16-1.amzn2.0.1.noarch
    ant-swing-1.9.16-1.amzn2.0.1.noarch
    ant-antlr-1.9.16-1.amzn2.0.1.noarch
    ant-apache-bsf-1.9.16-1.amzn2.0.1.noarch
    ant-apache-resolver-1.9.16-1.amzn2.0.1.noarch
    ant-commons-logging-1.9.16-1.amzn2.0.1.noarch
    ant-commons-net-1.9.16-1.amzn2.0.1.noarch
    ant-apache-bcel-1.9.16-1.amzn2.0.1.noarch
    ant-apache-log4j-1.9.16-1.amzn2.0.1.noarch
    ant-apache-oro-1.9.16-1.amzn2.0.1.noarch
    ant-apache-regexp-1.9.16-1.amzn2.0.1.noarch
    ant-apache-xalan2-1.9.16-1.amzn2.0.1.noarch
    ant-javamail-1.9.16-1.amzn2.0.1.noarch
    ant-jdepend-1.9.16-1.amzn2.0.1.noarch
    ant-jsch-1.9.16-1.amzn2.0.1.noarch
    ant-junit-1.9.16-1.amzn2.0.1.noarch
    ant-testutil-1.9.16-1.amzn2.0.1.noarch
    ant-manual-1.9.16-1.amzn2.0.1.noarch
    ant-javadoc-1.9.16-1.amzn2.0.1.noarch

src:
    ant-1.9.16-1.amzn2.0.1.src