com.itextpdf:io@7.1.15 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the com.itextpdf:io package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Denial of Service (DoS)

com.itextpdf:io is a package that represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.

Affected versions of this package are vulnerable to Denial of Service (DoS) via the component ByteBuffer.append, when a crafted PDF file is used by the attacker.

How to fix Denial of Service (DoS)?

Upgrade com.itextpdf:io to version 7.2.2 or higher.

[,7.2.2)
  • H
Command Injection

com.itextpdf:io is a package that represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.

Affected versions of this package are vulnerable to Command Injection. An attacker controlling the filename passed to the CompareTool class, is able to inject arbitrary parameters in the command line being executed (ghostscript). The vulnerable code resides inside com/itextpdf/io/util/GhostscriptHelper.java .

How to fix Command Injection?

Upgrade com.itextpdf:io to version 7.1.17 or higher.

[,7.1.17)