Skip to content
OpenAdvisories
High SUSE-SU-2022:4022-1 2 CVEs

Security update for ant

Published Nov 16, 2022 · Updated Feb 4, 2026

Summary

This update for ant fixes the following issues:

- CVE-2020-1945: Fixed insecure temporary file vulnerability (bsc#1171696).
- CVE-2020-11979: Fixed issue introduced with fix for CVE-2020-1945 (bsc#1177180).

Fixed packages 4

ReleasePackageFixed in
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 ant 1.9.4-3.12.1
SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 ant 1.9.4-3.12.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 ant 1.9.4-3.12.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 ant-antlr 1.9.4-3.12.3

Vulnerabilities 2

  • High 7.5

    Code injection in Apache Ant

    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 prot…

  • Medium 6.3

    Sensitive Data Exposure in Apache Ant

    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 te…

References

  • report
    https://bugzilla.suse.com/1171696
  • report
    https://bugzilla.suse.com/1177180
  • web
    https://www.suse.com/security/cve/CVE-2020-11979
  • web
    https://www.suse.com/security/cve/CVE-2020-1945