Skip to content
Heist/ feed
Back to feed
MediumFix available

ant — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-36374

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.

Products
ant
Affected versions
Not specified
Fixed versions
1.10.11-1
CVEs
CVE-2021-36374
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:37 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-36374

core-osv · Original source

Published 14 Jul 2021, 07:15 UTC

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.

osv:DEBIAN-CVE-2021-36374

ant

Fixed versions: 1.10.11-1

ant

Fixed versions: 1.10.11-1

ant

Fixed versions: 1.10.11-1

Complete source record
{
  "id": "1554577d2f5f7a7b5f49a6ce9f837b10e55dba2ff47642c64c56cf1d8a545f3f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-36374",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-36374",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-36374",
    "products": [
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.11-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.11-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.11-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-36374",
      "aliases": [
        "DEBIAN-CVE-2021-36374"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.11-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-36374.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.11-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-36374.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.11-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-36374.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T18:03:30.276816839Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-36374"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-36374"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-36374",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421714,
  "published_at": "2021-07-14T07:15:08.4+00:00"
}