CVE-2021-43113
JSON

9.8critical

Command injection in itext7-core

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
5.42% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-gv87-q66h-4277

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
com.itextpdf:itext7-core (Maven)before 7.1.17GitHub Advisory Database
com.itextpdf:itextpdf (Maven)before 5.5.13.3GitHub Advisory Database
itextpdf itextfrom 7.0.0 before 7.1.17NVD
debian debian_linux10.0, 11.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

CWE-77

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

iTextPDF en iText versión 7 y hasta la versión 7.1.17 permite la inyección de comandos a través de un nombre de archivo CompareTool que se maneja mal en la línea de comandos gs (también conocido como Ghostscript) en GhostscriptHelper.java.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43113 changed 2026-02-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-gv87-q66h-4277 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-43113 changed 2026-06-17Public domain