GitHub Advisoryadvisory · Maven

GHSA-4p6w-m9wc-c9c9 Sensitive Data Exposure in Apache Ant

MEDIUM Published 2020-09-14 Modified 2022-02-08 Official page ↗
Aliases
CVE-2020-1945
Ecosystem
Maven
Packages
org.apache.ant:ant
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-200, CWE-668
Reviewed
2020-09-14

Affected packages

• Maven org.apache.ant:ant: >= 1.1, < 1.9.15 → fixed in 1.9.15 • Maven org.apache.ant:ant: >= 1.10.0, < 1.10.8 → fixed in 1.10.8

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.

Related

Alias · CVE (1)

  • CVE-2020-1945 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… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References