p PatchFirst

PatchFirst · Latest vulnerabilities

ant vulnerabilities

Vulnerabilities published for ant in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 6

  1. CVE-2026-78254

    High · CVSS 7.4EPSS 0.52%No fix published

    Apache Ant: Path traversal in ftp and scp tasks allows arbitrary file write

    The ftp and scp tasks of Apache Ant can download files from a remote server. A malicious server can provide relative paths that allow it to write outside of the dedicated target directory for the download, making it possible to overwrite files of the attacker's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18. In order to exploit this vulnerability, the server would either have to be malicious or be subject to a machine-in-the-middle attack. Additionally in the case of scp or the ftp task using ftps the server must pass the server identity checks performed by the tasks. For ftp tasks not using ftp

    Published Updated
  2. CVE-2021-36374

    Medium · CVSS 5.5EPSS 2.64%Fix available

    Apache Ant ZIP, and ZIP based, archive denial of service vulerability

    When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

    • Update to 1.10.11-1
    Published Updated
  3. CVE-2021-36373

    Medium · CVSS 5.5EPSS 2.53%Fix available

    Apache Ant TAR archive denial of service vulnerability

    When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

    • Update to 1.10.11-1
    Published Updated
  4. CVE-2020-11979

    High · CVSS 7.5EPSS 7.76%Fix available

    CVE-2020-11979

    As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

    • Update to 1.10.9-1
    Published Updated
  5. CVE-2020-1945

    Medium · CVSS 6.3EPSS 1.77%Fix available

    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.

    • Update to 1.10.8-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →