Insecure Temporary File Vulnerability in Apache Ant
Key Information:
- Vendor
Apache
- Status
- CVE ID
- CVE ID:
- CVE-2020-1945
- Vendor
- CVE Published:
- 14 May 2020
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Why it's rated "Monitor"
- Its CVSS severity is medium (6.3).
What is CVE-2020-1945?
Apache Ant versions from 1.1 to 1.9.14 and from 1.10.0 to 1.10.7 utilize the default temporary directory defined by the Java property java.io.tmpdir for various operations. This practice poses a risk of leaking sensitive user information. Furthermore, tasks such as fixcrlf and replaceregexp can inadvertently copy files from this insecure temporary directory back into the build environment, enabling a potential attacker to inject altered source files into the build process. This flaw underscores the importance of secure file handling practices within development tools.
Affected Version(s)
Apache Ant Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction