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.
https://www.debian.org/security/2023/dsa-5323
https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html
https://github.com/itext/itext7/releases/tag/7.1.17
https://pastebin.com/BXnkY9YY
https://github.com/itext/itextpdf/releases/tag/5.5.13.3
Source: Mitre, NVD
Published: 2021-12-15
Updated: 2024-11-21
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.03042