ADVISORIES

GitHub Advisory Database

GHSA-gv87-q66h-4277

Command injection in itext7-core

Critical CVE-2021-43113

Details

iTextPDF in iText before 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

Affected packages

EcosystemPackageAffected versions
Mavencom.itextpdf:itext7-core
All versions before 7.1.17 (fixed in 7.1.17)
Mavencom.itextpdf:itextpdf
All versions before 5.5.13.3 (fixed in 5.5.13.3)

References