CVE-2021-43113

Critical

Description

iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

SeverityCritical
CVSS9.8
Exploit probability—
ProductItext
PublishedDec 15, 2021
First seenDec 15, 2021

How to fix

Update
  • itextpdf itext7.1.17 or later
  • com.itextpdf:itext7-core7.1.17 or later
  • com.itextpdf:itextpdf5.5.13.3 or later

Affected products

ProductAffected versionsFixed in
itextpdf itext7.0.0 ≤ v < 7.1.177.1.17
debian debian_linux10.0, 11.0—
com.itextpdf:itext7-coreMavenv < 7.1.177.1.17
com.itextpdf:itextpdfMavenv < 5.5.13.35.5.13.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.