Apache Ant

CVE-2020-1945
MEDIUM 6.3

At a glance

Source
NVD
EPSS
EPSS 1.75 % · percentile 78 ()
State
PUBLISHED
Published
Updated
Assigner
apache
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-668 — Exposure of Resource to Wrong Sphere

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NNVD · nvd@nist.gov (Primary)
CVSS 2.0LOW 3.3AV:L/AC:M/Au:N/C:P/I:P/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Apache Antaffected Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD