CRITICAL 9.8

CVE-2021-43113

Command injection in itext7-core

Description

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
com.itextpdf » itext7-core
< 7.1.17
7.1.17
com.itextpdf » itextpdf
< 5.5.13.3
5.5.13.3

Blast radius

2affected artifacts
63affected versions
1,940dependent artifacts (est.)
26,772dependent versions

68% of the dependent artifacts (1,321) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,747
2 hops
9,754
3 hops
5,876
4 hops
4,511
5 hops
804
6 hops
80

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Weblists.debian.org
Webpastebin.com
Webdebian.org