p PatchFirst

CVE-2021-36373

CVE-2021-36373 · Apache Ant TAR archive denial of service vulnerability

CVSS 5.5 · Medium · EPSS 2.5% · 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.

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.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2024:11688-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:1418-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Linux Enterprise Real Time 15 SP2 ·
  • SUSE-SU-2022:1417-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5 ·

Stack: system

Affected products and versions

  • apache ant

    Versions
    • ≥ Apache Ant 1.9.x, ≤ 1.9.15: Affected; ≥ 1.9.0: Affected (custom)
    • ≥ Apache Ant 1.10.x, ≤ 1.10.10: Affected; ≥ 1.10.0: Affected (custom)
    • ≥ Apache Ant, < 1.9.0: Not affected (custom)

    No fix published

  • apache-ant Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • apache-ant Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.10.11-r0

    Update to 1.10.11-r0

  • ant Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.10.11-1

    Update to 1.10.11-1

  • ant Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.10.11-1

    Update to 1.10.11-1

  • ant Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.10.11-1

    Update to 1.10.11-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
    • 1.9.3-2ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu Pro 16.04 LTS

    Versions
    • 1.9.6-1ubuntu1
    • 1.9.6-1ubuntu1.1
    • 1.9.6-1ubuntu1.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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 (9)
    • 1.10.3-1ubuntu0.1
    • 1.10.5-3~18.04
    • 1.10.5-3~18.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu Pro 20.04 LTS

    Versions
    • 1.10.6-1
    • 1.10.7-1
    • 1.10.7-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu 22.04 LTS

    Versions
    • 1.10.9-4
    • 1.10.11-1
    • 1.10.12-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu 24.04 LTS

    Versions
    • 1.10.13-2
    • 1.10.14-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu 25.10

    Versions
    • 1.10.15-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu 26.10

    Versions
    • 1.10.15-1build1
    • 1.10.17-1
    • 1.10.18-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ant Ubuntu 26.04 LTS

    Versions
    • 1.10.15-1
    • 1.10.15-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →