critical9.8
CVE-2021-43113
Command injection in itext7-core
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.itextpdf:itext7-core | < 7.1.17 | 7.1.17 |
| maven | com.itextpdf:itextpdf | < 5.5.13.3 | 5.5.13.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Itextpdf | Itext | from 7.0.0 before 7.1.17 |
| Debian | Debian Linux | Versions 10.0, 11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/itext/itext7/releases/tag/7.1.17
- https://github.com/itext/itextpdf/releases/tag/5.5.13.3
- https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html
- https://pastebin.com/BXnkY9YY
- https://www.debian.org/security/2023/dsa-5323
- https://github.com/advisories/GHSA-gv87-q66h-4277
- https://nvd.nist.gov/vuln/detail/CVE-2021-43113