Is org.apache.ant:ant 1.7 vulnerable?

Maven · 2 releases from 1.7.0 to 1.7.1 · latest org.apache.ant:ant is 1.10.18 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. org.apache.ant:ant 1.7.1, the last 1.7 release, is affected by 3 known security advisories (1 high, 2 medium), including CVE-2020-11979, CVE-2021-36373, CVE-2020-1945. Upgrade to 1.10.9 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.apache.ant:ant -DdepVersion=1.10.9 -DforceVersion=true

Is your project on an affected org.apache.ant:ant?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.apache.ant:ant 1.7.1

  • MediumCVE-2021-36373GHSA-q5r4-cfpx-h6fh2 Aug 2021

    Improper Handling of Length Parameter Inconsistency in Apache Ant

    Affected
    <1.9.16 · >=1.10.0 <1.10.11
    Fixed in
    1.9.16, 1.10.11
  • HighCVE-2020-11979GHSA-f62v-xpxf-3v683 Feb 2021

    Code injection in Apache Ant

    Affected
    <1.10.9
    Fixed in
    1.10.9
  • MediumCVE-2020-1945GHSA-4p6w-m9wc-c9c914 Sept 2020

    Sensitive Data Exposure in Apache Ant

    Affected
    >=1.1 <1.9.15 · >=1.10.0 <1.10.8
    Fixed in
    1.9.15, 1.10.8

Every org.apache.ant:ant 1.7.x release

Affected: 1.7.0 to 1.7.1. Latest org.apache.ant:ant: 1.10.18.

VersionKnown advisories
org.apache.ant:ant 1.7.1CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.7.0CVE-2021-36373, CVE-2020-11979, CVE-2020-1945

Which of your client projects are still on org.apache.ant:ant 1.7?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.apache.ant:ant version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.apache.ant:ant versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.