RCE in Itextpdf Itext
CVE-2021-43113
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.054, 92.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Itextpdf Itext
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/itext/itext7/releases/tag/7.1.17 (Third Party Advisory, Release Notes)
- pastebin.com/BXnkY9YY (Exploit, Third Party Advisory)
- [debian-lts-announce] 20230118 [SECURITY] [DLA 3273-1] libitext5-java security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5323 (vendor-advisory, Third Party Advisory)
- github.com/itext/itextpdf/releases/tag/5.5.13.3