GitHub Advisory Database
GHSA-gv87-q66h-4277
Command injection in itext7-core
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.itextpdf:itext7-core | All versions before 7.1.17 (fixed in 7.1.17) |
| Maven | com.itextpdf:itextpdf | All versions before 5.5.13.3 (fixed in 5.5.13.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43113
- https://github.com/itext/itext7
- 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