{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-43113","id":"CVE-2021-43113","title":"Command injection in itext7-core","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.","descriptionLong":"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.","published":"2021-12-15T00:00:00.000Z","updated":"2026-10-24T10:50:08.804657420Z","reserved":"2021-11-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.itextpdf:itext7-core","purl":"pkg:maven/com.itextpdf/itext7-core","ranges":["<7.1.17"],"fixed":["7.1.17"],"advisory":"GHSA-gv87-q66h-4277"},{"ecosystem":"Maven","name":"com.itextpdf:itextpdf","purl":"pkg:maven/com.itextpdf/itextpdf","ranges":["<5.5.13.3"],"fixed":["5.5.13.3"],"advisory":"GHSA-gv87-q66h-4277"}],"cwes":["CWE-77"],"aliases":["GHSA-gv87-q66h-4277"],"references":[{"url":"https://github.com/itext/itext7/releases/tag/7.1.17","tags":["x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://pastebin.com/BXnkY9YY","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2023/dsa-5323","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/itext/itextpdf/releases/tag/5.5.13.3","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43113","tags":["advisory"]},{"url":"https://github.com/itext/itext7","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.05425,"epssPercentile":0.92874,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-43113","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43113","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-43113","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gv87-q66h-4277","ok":true,"note":"GHSA-gv87-q66h-4277"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43113","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}