Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.ant/ant
  4. ›
  5. CVE-2021-36374

CVE-2021-36374: Uncontrolled Resource Consumption

July 14, 2021 (updated November 7, 2023)

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.

References

  • ant.apache.org/security.html
  • nvd.nist.gov/vuln/detail/CVE-2021-36374

Code Behaviors & Features

Detect and mitigate CVE-2021-36374 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.9.0 before 1.9.16, all versions starting from 1.10.0 before 1.10.11

Fixed versions

  • 1.9.16
  • 1.10.11

Solution

Upgrade to versions 1.9.16, 1.10.11 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

maven/org.apache.ant/ant/CVE-2021-36374.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.