# CVE-2020-11979: Code injection in Apache Ant

Source: https://junglewise.ai/threats/cve-2020-11979-code-injection-in-apache-ant  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-02-03  
License: CC BY 4.0 with a link back

CVE-2020-11979 · Severity: low · CVSS 3.1 · Published 2021-02-03

Code injection in Apache Ant

Technologies: [org.apache.ant:ant (Maven)](https://junglewise.ai/threats/technologies/org-apache-ant-ant). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-11979 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-11979 being exploited in the wild.

**How severe is CVE-2020-11979?** Low severity, with a CVSS score of 3.1, published 3 February 2021.

**Which products and versions are affected?** org.apache.ant:ant (Maven) ECOSYSTEM:introduced=0,fixed=1.10.9.

**Is there a fix for CVE-2020-11979?** Yes. org.apache.ant:ant (Maven): upgrade to 1.10.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-11979?** Check whether you run org.apache.ant:ant (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.ant:ant (Maven): upgrade to 1.10.9 or later

  ```sh
  # set org.apache.ant:ant to 1.10.9 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.ant:ant (Maven) ECOSYSTEM:introduced=0,fixed=1.10.9

## Identifiers

- CVE-2020-11979
- GHSA-f62v-xpxf-3v68

## Related threats

- [Improper Handling of Length Parameter Inconsistency in Apache Ant](https://junglewise.ai/threats/cve-2021-36374-improper-handling-of-length-parameter-inconsistency-in-apache-ant)
- [Improper Handling of Length Parameter Inconsistency in Apache Ant](https://junglewise.ai/threats/cve-2021-36373-improper-handling-of-length-parameter-inconsistency-in-apache-ant)
- [Sensitive Data Exposure in Apache Ant](https://junglewise.ai/threats/cve-2020-1945-sensitive-data-exposure-in-apache-ant)
