VDB

CVE-2020-11979

CVE-2020-11979 PUBLISHED

Code injection in Apache Ant

Reported by apache · Published October 1, 2020

ant is fixed in 1.10.9 (Maven Central)

As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.ant:antMaven Central1.10.9
gradleAlpine6.8.3-r0
apache-antAlpine1.10.9-r0
gradleBitnami6.8.0
alpine/gradle-8alpine6.8.0

Affected products

VendorProductVersions
n/aApache AntApache Ant 1.10.8
n/aApache Ant1.10.8

Timeline

  • Oct 1, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (4 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (4 in total, the first dated here)
  • Sep 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-11979
vulnetix vdb fixes CVE-2020-11979

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-11979/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›