{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3781","id":"CVE-2021-3781","title":"A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecti…","description":"A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","descriptionLong":"A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","published":"2022-02-16T00:00:00.000Z","updated":"2026-06-17T04:05:45.050Z","reserved":"2021-09-09T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":["ghostscript"],"affectedProducts":[{"vendor":"n/a","product":"ghostscript","defaultStatus":null,"versions":[{"version":"ghostpdl 9.55.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-20","CWE-78"],"aliases":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2002271","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://ghostscript.com/CVE-2021-3781.html","tags":["x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/202211-11","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.83913,"epssPercentile":0.99698,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3781","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3781","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3781","ok":true,"note":"0 packages"},{"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-3781","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 84% with CVSS 9.9"],"attention":null}