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.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/itext/itext7/releases/tag/7.1.17 | third party advisory release notes |
https://pastebin.com/BXnkY9YY | third party advisory exploit |
https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html | third party advisory mailing list |
https://www.debian.org/security/2023/dsa-5323 | third party advisory vendor advisory |
https://github.com/itext/itextpdf/releases/tag/5.5.13.3 |