I'm having some difficulties with the pdf-library IText. The short story:
the application used the library itext-2.0.8 in combination with core-renderer-R8 to create pdfs. The both libraries had to be updated, because of vulnerabilities.
I successfully updated these libraries to itextpdf-5.5.13.2 and resp. to flying-saucer-pdf-itext5.
It seems there is another problem with itextpdf-5.5.13.2:
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.
you'll notice if you automatically build the application with Jenkins.
Should I update to itext7-core ?
It seems, that itext7-core is not compatible with itextpdf-5.5.13.2, so I can't use flying-saucer-pdf-itext5 anymore.
Is there any other option (beside rewriting the code of the application) ?
Thanx for any advice.