p PatchFirst

CVE-2020-1945

CVE-2020-1945

CVSS 6.3 · Medium · EPSS 1.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o apache-ant

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RHSA-2021:0637 · Red Hat openshift 3.11 el7 ·
  • RHSA-2021:0429 · Red Hat openshift 4.5 el7, Red Hat openshift 4.5 el8 ·
  • RHSA-2021:0423 · Red Hat openshift 4.6 el8 ·
  • openSUSE-SU-2024:10616-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2024:11676-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:4022-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5 ·
  • USN-4874-1 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • openSUSE-SU-2020:1022-1 · openSUSE Leap 15.2 ·
  • SUSE-SU-2020:1944-1 · SUSE Linux Enterprise Module for Development Tools 15 SP2 ·

Stack: system

Affected products and versions

  • apache ant

    Versions
    • Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7: Affected

    No fix published

  • apache-ant Alpine 3.11

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.12

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.13

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • apache-ant Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.10.8-r0

    Update to 1.10.8-r0

  • ant Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.10.8-1

    Update to 1.10.8-1

  • ant Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.10.8-1

    Update to 1.10.8-1

  • ant Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.10.8-1

    Update to 1.10.8-1

  • ant Ubuntu Pro 14.04 LTS

    Versions
    • 1.9.2-1
    • 1.9.3-1
    • 1.9.3-2
    • 1.9.3-2build1
    • 1.9.3-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.9.3-2ubuntu0.1+esm1

    Update to 1.9.3-2ubuntu0.1+esm1

  • ant Ubuntu Pro 16.04 LTS

    Versions
    • 1.9.6-1ubuntu1
    • 1.9.6-1ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 1.9.6-1ubuntu1.1+esm1

    Update to 1.9.6-1ubuntu1.1+esm1

  • ant Ubuntu Pro 18.04 LTS

    Versions
    • 1.9.9-4
    • 1.9.9-5
    • 1.9.9-6
    • 1.9.10-1
    • 1.9.10-2
    • 1.10.3-1
    All versions (8)
    • 1.10.3-1ubuntu0.1
    • 1.10.5-3~18.04
    Affected ranges
    • ECOSYSTEM: < 1.10.5-3~18.04.1~esm1

    Update to 1.10.5-3~18.04.1~esm1

  • ant Ubuntu Pro 20.04 LTS

    Versions
    • 1.10.6-1
    • 1.10.7-1
    Affected ranges
    • ECOSYSTEM: < 1.10.7-1ubuntu0.1~esm1

    Update to 1.10.7-1ubuntu0.1~esm1

Original sources

Check your server →