CVE-2020-11979: As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so tha
60
This week
HIGH 7.5REMOTEWATCHLISTDOWNGRADEUPGRADEMITIGATE
CVE-2020-11979 is a high-severity flaw (CVSS 7.5) affecting ant, gradle, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-11979?
ant: downgrade or apply the listed mitigation; gradle: upgrade to 6.8.0; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-11979 being exploited?
CVE-2020-11979 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-11979 affect?
CVE-2020-11979 affects ant, gradle, fedora. Severity is high (CVSS 7.5). 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 on
How urgent is CVE-2020-11979?
Priority 60/100. High severity; EPSS top 5%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
CVE-2021-36374MEDIUM 5.5UPGRADEDOWNGRADE When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocat
CVE-2021-36373MEDIUM 5.5UPGRADEDOWNGRADE When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memo
CVE-2020-1945MEDIUM 6.3UPGRADEMITIGATE Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java syst