CVE-2020-1945: 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
47
This month
MEDIUM 6.3WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2020-1945 is a medium-severity flaw (CVSS 6.3) affecting ant, ubuntu linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing 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-1945?
ant: upgrade to newer than 1.10.7; ubuntu linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-1945 being exploited?
CVE-2020-1945 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-1945 affect?
CVE-2020-1945 affects ant, ubuntu linux, fedora. Severity is medium (CVSS 6.3). 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 system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also cop
CVE-2020-11979HIGH 7.5DOWNGRADEUPGRADE As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so tha
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