PT-2021-23745

CVE-2021-43113

·

Published

2021-12-15

·

Updated

2026-02-25

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions iText versions prior to 7.1.17
Description The issue allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java. This can occur when a malicious filename is provided to the CompareTool, potentially leading to the execution of arbitrary commands.
Recommendations For versions prior to 7.1.17, update to version 7.1.17 or later to resolve the issue. As a temporary workaround, consider restricting access to the GhostscriptHelper.java class or disabling the CompareTool functionality until a patch is applied. Avoid using potentially malicious filenames with the CompareTool to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-GV87-Q66H-4277
DLA-3273-1
DSA-5323-1
OPENSUSE-SU-2024:11980-1
Found an issue in the description? Have something to add? Feel free to write us 👾