Ubuntu CVE Tracker
UBUNTU-CVE-2020-1945
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | ant | All versions before 1.9.3-2ubuntu0.1+esm1 (fixed in 1.9.3-2ubuntu0.1+esm1) |
| Ubuntu:Pro:16.04:LTS | ant | All versions before 1.9.6-1ubuntu1.1+esm1 (fixed in 1.9.6-1ubuntu1.1+esm1) |
| Ubuntu:Pro:18.04:LTS | ant | All versions before 1.10.5-3~18.04.1~esm1 (fixed in 1.10.5-3~18.04.1~esm1) |
| Ubuntu:Pro:20.04:LTS | ant | All versions before 1.10.7-1ubuntu0.1~esm1 (fixed in 1.10.7-1ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2020-1945
- https://lists.apache.org/thread.html/r8e592bbfc016a5dbe2a8c0e81ff99682b9c78c453621b82c14e7b75e%40%3Cdev.ant.apache.org%3E
- https://ubuntu.com/security/notices/USN-4380-1
- https://ubuntu.com/security/notices/USN-4874-1
- https://www.cve.org/CVERecord?id=CVE-2020-1945