{"id":"UBUNTU-CVE-2021-36373","details":"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.","modified":"2026-05-20T16:05:05.589121086Z","published":"2021-07-14T07:15:00Z","upstream":["CVE-2021-36373"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36373"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/07/13/5"},{"type":"REPORT","url":"https://ant.apache.org/security.html"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36373"}],"affected":[{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.2-1","1.9.3-1","1.9.3-2","1.9.3-2build1","1.9.3-2ubuntu0.1","1.9.3-2ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-gcj"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-optional"},{"binary_version":"1.9.3-2ubuntu0.1+esm1","binary_name":"ant-optional-gcj"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.6-1ubuntu1","1.9.6-1ubuntu1.1","1.9.6-1ubuntu1.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-gcj"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-optional"},{"binary_version":"1.9.6-1ubuntu1.1+esm1","binary_name":"ant-optional-gcj"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.9-4","1.9.9-5","1.9.9-6","1.9.10-1","1.9.10-2","1.10.3-1","1.10.3-1ubuntu0.1","1.10.5-3~18.04","1.10.5-3~18.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.5-3~18.04.1~esm1","binary_name":"ant"},{"binary_version":"1.10.5-3~18.04.1~esm1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.6-1","1.10.7-1","1.10.7-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.7-1ubuntu0.1~esm1","binary_name":"ant"},{"binary_version":"1.10.7-1ubuntu0.1~esm1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.9-4","1.10.11-1","1.10.12-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.12-1","binary_name":"ant"},{"binary_version":"1.10.12-1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.13-2","1.10.14-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.14-1","binary_name":"ant"},{"binary_version":"1.10.14-1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ant?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.15-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.15-1","binary_name":"ant"},{"binary_version":"1.10.15-1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}},{"package":{"name":"ant","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ant?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.15-1","1.10.15-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.15-1build1","binary_name":"ant"},{"binary_version":"1.10.15-1build1","binary_name":"ant-optional"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36373.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}