# CVE-2021-43113: Command injection in itext7-core

Source: https://junglewise.ai/threats/cve-2021-43113-command-injection-in-itext7-core  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-12-16  
License: CC BY 4.0 with a link back

CVE-2021-43113 · Severity: low · CVSS 3.1 · Published 2021-12-16

Command injection in itext7-core

Technologies: [com.itextpdf:itext7-core (Maven)](https://junglewise.ai/threats/technologies/com-itextpdf-itext7-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2021-43113?** Low severity, with a CVSS score of 3.1, published 16 December 2021.

**Which products and versions are affected?** com.itextpdf:itext7-core (Maven) ECOSYSTEM:introduced=0,fixed=7.1.17; com.itextpdf:itextpdf (Maven) ECOSYSTEM:introduced=0,fixed=5.5.13.3.

**Is there a fix for CVE-2021-43113?** Yes. com.itextpdf:itext7-core (Maven): upgrade to 7.1.17 or later; com.itextpdf:itextpdf (Maven): upgrade to 5.5.13.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-43113?** Check whether you run com.itextpdf:itext7-core (Maven) or com.itextpdf:itextpdf (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

- com.itextpdf:itext7-core (Maven): upgrade to 7.1.17 or later

  ```sh
  # set com.itextpdf:itext7-core to 7.1.17 in your pom.xml or build.gradle
  ```

- com.itextpdf:itextpdf (Maven): upgrade to 5.5.13.3 or later

  ```sh
  # set com.itextpdf:itextpdf to 5.5.13.3 in your pom.xml or build.gradle
  ```


## Affected products

- com.itextpdf:itext7-core (Maven) ECOSYSTEM:introduced=0,fixed=7.1.17
- com.itextpdf:itextpdf (Maven) ECOSYSTEM:introduced=0,fixed=5.5.13.3

## Identifiers

- CVE-2021-43113
- GHSA-gv87-q66h-4277

## Related threats

- [Improper Restriction of XML External Entity Reference in iText](https://junglewise.ai/threats/cve-2017-9096-improper-restriction-of-xml-external-entity-reference-in-itext)
- [Out-of-bounds Read in iText](https://junglewise.ai/threats/cve-2022-24198-out-of-bounds-read-in-itext)
- [Out-of-bounds Write in iText](https://junglewise.ai/threats/cve-2022-24197-out-of-bounds-write-in-itext)
- [Allocation of Resources Without Limits or Throttling in iText](https://junglewise.ai/threats/cve-2022-24196-allocation-of-resources-without-limits-or-throttling-in-itext)
