CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability

Related Vulnerabilities: CVE-2021-36373   CVE-2021-35517  
                							

                <!--X-Body-Begin-->
<!--X-User-Header-->

oss-sec
mailing list archives
<!--X-User-Header-End-->
<!--X-TopPNI-->

By Date

By Thread

</form>

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability

<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->

From: Stefan Bodewig &lt;bodewig () apache org&gt;

Date: Tue, 13 Jul 2021 17:15:27 +0000

<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->

<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
Description:

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.

Mitigation:

Apache Ant 1.9.x users should upgrade to 1.9.16 or later.
Apache Ant 1.10.x users should upgrade to 1.10.11 or later.

Credit:

This issue is similar to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35517 present in Apache Commons 
Compress which has been detected by OSS Fuzz.

References:

https://ant.apache.org/security.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35517

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->

<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->

By Date

By Thread

Current thread:

CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability Stefan Bodewig (Jul 13)

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->