Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
ant security updateSummary:
An update for ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.Description:
Ant is a Java based build tool. In theory it is kind of like "make" without makes wrinkles and with the full portability of pure java code.
When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.(CVE-2021-36373)
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)Topic:
An update for ant is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
ant
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade ant ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro …rpm -q ant ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro …Sources