{"id":"CVE-2021-43113","aliases":["CVE-2021-43113","GHSA-gv87-q66h-4277"],"related":[],"kind":"vulnerability","state":"published","title":"Command injection in itext7-core","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2021-12-15T00:00:00.000Z","modified":"2026-06-17T04:10:31.607Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.1.17"}],"ecosystem":"Maven","package":"com.itextpdf:itext7-core","purl":"pkg:maven/com.itextpdf/itext7-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.5.13.3"}],"ecosystem":"Maven","package":"com.itextpdf:itextpdf","purl":"pkg:maven/com.itextpdf/itextpdf","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.1.17"}],"vendor":"itextpdf","product":"itext","cpe":"cpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/itext/itext7/releases/tag/7.1.17","tags":["release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://pastebin.com/BXnkY9YY","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5323","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/itext/itextpdf/releases/tag/5.5.13.3","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43113","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/itext/itext7","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-01-22T04:55:51.037Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43113","url":"https://www.cve.org/CVERecord?id=CVE-2021-43113","licence":"CVE Terms of Use","modified":"2026-02-25T17:20:11.587Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv87-q66h-4277","url":"https://github.com/advisories/GHSA-gv87-q66h-4277","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:08.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43113","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43113","licence":"Public domain","modified":"2026-06-17T04:10:31.607Z"}],"updatedAt":"2026-11-25T22:24:36.248Z","epss":{"score":0.05425,"percentile":0.92881,"date":"2026-12-01T12:00:22.000Z"}}