CVE-2020-1945
Sensitive Data Exposure in Apache Ant
6.3
MEDIUM
CVSS 3.1
EPSS 0.04%
Description
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.
How to fix CVE-2020-1945
To remediate CVE-2020-1945, upgrade the affected package to a fixed version below.
- —upgrade to 1.10.8-1 or later
- —upgrade to 1.9.15 or later
Is CVE-2020-1945 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.10.8-1
- >= 1.1, < 1.9.15
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |