CVE-2021-36373

Summary

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.

Affected Software

VendorProductVersion RangeStatus
Apache Software FoundationApache AntApache Ant 1.9.x <= 1.9.15affected
Apache Software FoundationApache AntApache Ant 1.10.x <= 1.10.10affected
Apache Software FoundationApache AntApache Ant < 1.9.0unaffected

Weaknesses

  • CWE-130: CWE-130 Improper Handling of Length Parameter Inconsistency

Workarounds

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.

ADP Enrichment

CVE Program Container

Additional References

References