CVE-2020-1945

NameCVE-2020-1945
DescriptionApache 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs960630

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ant (PTS)jessie, jessie (lts)1.9.4-3+deb8u2vulnerable
stretch (security), stretch (lts), stretch1.9.9-1+deb9u1vulnerable
buster1.10.5-2vulnerable
bullseye1.10.9-4fixed
bookworm1.10.13-1fixed
sid, trixie1.10.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
antsourcewheezy(unfixed)end-of-life
antsource(unstable)1.10.8-1low960630

Notes

[buster] - ant <no-dsa> (Minor issue)
[stretch] - ant <no-dsa> (Minor issue)
[jessie] - ant <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2020/05/13/1
https://github.com/apache/ant/commit/9c1f4d905da59bf446570ac28df5b68a37281f35 (1.9.15)
https://github.com/apache/ant/commit/926f339ea30362bec8e53bf5924ce803938163b7 (1.9.15)
https://github.com/apache/ant/commit/d591851ae3921172bb825b5a5344afa3de0e28ca (10.8)
https://github.com/apache/ant/commit/9c1f4d905da59bf446570ac28df5b68a37281f35 (10.8)
https://github.com/apache/ant/commit/041b058c7bf10a94d56db3ca9dba38cf90ab9943 (10.8)
https://github.com/apache/ant/commit/a8645a151bc706259fb1789ef587d05482d98612 (10.8)
https://github.com/apache/ant/commit/926f339ea30362bec8e53bf5924ce803938163b7 (10.8)
Adressing CVE-2020-1945 introduces a new issue CVE-2020-11979.

Search for package or bug name: Reporting problems