In hope that it would bring more accurate rendering of PDF files in Lucee + fix known vulnerabilities within the included (and outdated) JAR dependencies, would kindly ask for an update to the current v1.2.0.10PDF extension relying on the following dependencies - linked their new versions:
bouncycastle.mail (v1.38.0) → v1.79 / Oct 30, 2024
bouncycastle.prov (v1.38.0) → v1.79 / Oct 30, 2024
Regarding vulnerabilities discovered (and fixed in the updated versions) within the above listed libraries, compared to the version currently included Lucee’s PDF extension:
One thing in particular is that old iText under jdk 11 reports “WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (jar:/var/tomcat/lucee/config/server/lucee-server/bundles/org.lucee.itext-2.1.7.jar) to method java.nio.DirectByteBuffer.cleaner()” and afaik it’s not expected to work with some newer jdk versions.