{"id":"CVE-2021-36373","published":"2021-07-14T06:20:11Z","modified":"2024-08-04T00:54:51Z","title":"Apache Ant TAR archive denial of service vulnerability","vendor":"Apache","product":"Apache Ant","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02532,"percentile":0.85307,"provenance":"source"},"cwes":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"}],"references":[{"url":"https://ant.apache.org/security.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a%40%3Ccommits.groovy.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d%40%3Ccommits.groovy.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a%40%3Cnotifications.groovy.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6%40%3Cdev.myfaces.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210819-0007/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.06}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Ant","versions":[">= Apache Ant 1.9.x, <= 1.9.15",">= Apache Ant 1.10.x, <= 1.10.10"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.ant:ant","vulnerableRanges":["<1.9.16",">=1.10.0, <1.10.11"],"patched":["1.9.16","1.10.11"],"from":["GHSA-q5r4-cfpx-h6fh"],"provenance":"source"}],"summary":{"text":"Apache Ant, the Java build tool, contains a flaw in how its TAR archive reader handles specially crafted archives, where the processing of such input can lead to excessive memory allocation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:07Z"},"euvd":{"id":"EUVD-2021-1834","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-1945","published":"2020-05-14","fixed":"1.10.8","kev":false,"link":{"from":"CVE-2020-1945","to":"CVE-2021-36373","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.ant:ant","fromFixed":"1.9.15","toFixed":"1.9.16","daysApart":426}]}},{"cve":"CVE-2020-11979","published":"2020-10-01","fixed":"1.10.9","kev":false,"link":{"from":"CVE-2020-11979","to":"CVE-2021-36373","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.ant:ant","fromFixed":"1.10.9","toFixed":"1.10.11","daysApart":286}]}},{"cve":"CVE-2021-36373","published":"2021-07-14","fixed":"1.10.11","kev":false},{"cve":"CVE-2021-36374","published":"2021-07-14","fixed":"1.10.11","kev":false}],"package":"Maven:org.apache.ant:ant"}}