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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/itext/itext7/releases/tag/7.1.17Release Notes, Third Party Advisory
- https://github.com/itext/itextpdf/releases/tag/5.5.13.3
- https://lists.debian.org/debian-lts-announce/2023/01/msg00013.htmlMailing List, Third Party Advisory
- https://pastebin.com/BXnkY9YYExploit, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5323Third Party Advisory
- https://github.com/itext/itext7/releases/tag/7.1.17Release Notes, Third Party Advisory
- https://github.com/itext/itextpdf/releases/tag/5.5.13.3
- https://lists.debian.org/debian-lts-announce/2023/01/msg00013.htmlMailing List, Third Party Advisory
- https://pastebin.com/BXnkY9YYExploit, Third Party Advisory
- https://www.debian.org/security/2023/dsa-5323Third Party Advisory
Timeline
- Published
- Dec 15, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified