CVE-2021-43113

Source
https://cve.org/CVERecord?id=CVE-2021-43113
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43113.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43113
Aliases
Downstream
Related
Published
2021-12-15T07:15:07.453Z
Modified
2026-03-10T23:50:37.977222Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

References

Affected packages

Git / github.com/itext/itext-java

Affected ranges

Type
Repo
https://github.com/itext/itext-java
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
a2746010d27536b68d60d53f81912d5a7c537b7e
Type
GIT
Repo
https://github.com/itext/itext7
Events
Database specific
{
    "versions": [
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.1.17"
        }
    ]
}
Type
Repo
https://github.com/itext/itextpdf
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0231a60e92a1968601d1d7779dc3f57f1274f32f

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "11.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43113.json"