CVE-2021-43113: Command Injection
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libitext5-javato a version that resolves this vulnerability.Fixed in 5.5.13-1+deb10u1Fixed in 5.5.13.2-1+deb11u1Fixed in 5.5.13.3-2
Event History
Frequently Asked Questions
What is CVE-2021-43113?
CVE-2021-43113 is a vulnerability in iTextPDF that allows command injection via a mishandled filename on the Ghostscript command line.
What is the severity of CVE-2021-43113?
The severity of CVE-2021-43113 is critical with a severity value of 9.8.
Which software versions are affected by CVE-2021-43113?
Versions up to (excluding) 4.4.13.3 and 7.1.17 of iTextPDF are affected by CVE-2021-43113.
How can I fix CVE-2021-43113?
To fix CVE-2021-43113, update iTextPDF to version 5.5.13.3 or higher.
Where can I find more information about CVE-2021-43113?
You can find more information about CVE-2021-43113 in the following references: [GitHub - itext/itext7/releases/tag/7.1.17](https://github.com/itext/itext7/releases/tag/7.1.17), [GitHub - itext/itextpdf/releases/tag/5.5.13.3](https://github.com/itext/itextpdf/releases/tag/5.5.13.3), [Debian LTS Announce](https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html).