Skip to content
Heist/ feed
Back to feed
MediumFix available

ant — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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 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.

Products
ant
Affected versions
Not specified
Fixed versions
1.10.8-1
CVEs
CVE-2020-1945
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:38 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-1945

core-osv · Original source

Published 14 May 2020, 16:15 UTC

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.

osv:DEBIAN-CVE-2020-1945

ant

Fixed versions: 1.10.8-1

ant

Fixed versions: 1.10.8-1

ant

Fixed versions: 1.10.8-1

Complete source record
{
  "id": "3c5c0edcddbf6a3bec45990782ecc2cc14b7114968515496ef24aec4e4c449bf",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-1945",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-1945",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-1945",
    "products": [
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.8-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.8-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ant",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.10.8-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-1945",
      "aliases": [
        "DEBIAN-CVE-2020-1945"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.8-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1945.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.8-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1945.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.10.8-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ant",
            "purl": "pkg:deb/debian/ant?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1945.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-26T12:02:39.108486943Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-1945"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-1945"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-1945",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 452643,
  "published_at": "2020-05-14T16:15:12.767+00:00"
}