9.8critical
Command injection in itext7-core
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 5.42% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-gv87-q66h-4277
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.itextpdf:itext7-core (Maven) | before 7.1.17 | GitHub Advisory Database |
| com.itextpdf:itextpdf (Maven) | before 5.5.13.3 | GitHub Advisory Database |
| itextpdf itext | from 7.0.0 before 7.1.17 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
iTextPDF en iText versión 7 y hasta la versión 7.1.17 permite la inyección de comandos a través de un nombre de archivo CompareTool que se maneja mal en la línea de comandos gs (también conocido como Ghostscript) en GhostscriptHelper.java.
References
| https://github.com/itext/itext7/releases/tag/7.1.17 | release-notes, third-party-advisory, web | |
| https://pastebin.com/BXnkY9YY | exploit, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html | mailing-list, third-party-advisory, web | |
| https://www.debian.org/security/2023/dsa-5323 | third-party-advisory, vendor-advisory, web | |
| https://github.com/itext/itextpdf/releases/tag/5.5.13.3 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43113 | advisory | |
| https://github.com/itext/itext7 | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43113 changed 2026-02-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gv87-q66h-4277 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-43113 changed 2026-06-17 | Public domain |