CVE-2020-11979 Affecting apache-ant package, versions <1.10.9-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.24% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-APACHEANT-8482550
  • published6 Dec 2024
  • disclosed1 Oct 2020

Introduced: 1 Oct 2020

CVE-2020-11979  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 apache-ant to version 1.10.9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-ant package and not the apache-ant package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1