CVE-2020-1945

MEDIUM6.3EPSS 0.04%

Sensitive Data Exposure in Apache Ant

Published: 9/14/2020Modified: 3/15/2024
Also known as:GHSA-4p6w-m9wc-c9c9DEBIAN-CVE-2020-1945

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

References (54)