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.
{
"unresolved_ranges": [
{
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.1.17"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.1.17"
}
],
"cpes": [
"cpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:*"
],
"vendor_product": "itextpdf:itext"
},
{
"extracted_events": [
{
"last_affected": "10.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING",
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux"
}
]
}