Is org.apache.ant:ant 1.9 vulnerable?

Maven · 17 releases from 1.9.0 to 1.9.16 · latest org.apache.ant:ant is 1.10.18 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. org.apache.ant:ant 1.9.16, the last 1.9 release, is affected by 1 known security advisory (1 high), including CVE-2020-11979. 3 more affect earlier 1.9.x releases. 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.9.16

  • HighCVE-2020-11979GHSA-f62v-xpxf-3v683 Feb 2021

    Code injection in Apache Ant

    Affected
    <1.10.9
    Fixed in
    1.10.9

Fixed within 1.9.x, affecting earlier releases

  • MediumCVE-2021-36374GHSA-5v34-g2px-j4fw2 Aug 2021

    Improper Handling of Length Parameter Inconsistency in Apache Ant

    Affected
    >=1.9.0 <1.9.16 · >=1.10.0 <1.10.11
    Fixed in
    1.9.16, 1.10.11
  • 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
  • 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.9.x release

Affected: 1.9.0 to 1.9.16. Latest org.apache.ant:ant: 1.10.18.

VersionKnown advisories
org.apache.ant:ant 1.9.16CVE-2020-11979
org.apache.ant:ant 1.9.15CVE-2021-36374, CVE-2021-36373, CVE-2020-11979
org.apache.ant:ant 1.9.14CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.13CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.12CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.11CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.10CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.9CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.8CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.7CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.6CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.5CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.4CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.3CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.2CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.1CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945
org.apache.ant:ant 1.9.0CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-1945

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

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.