CVE-2021-3781

Summary

CVECVE-2021-3781
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-16 19:15:00 UTC
Updated2023-06-26 18:56:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript 9.50 All All All
Application Artifex Ghostscript 9.52 All All All
Application Artifex Ghostscript 9.53.3 All All All
Application Artifex Ghostscript 9.54.0 All All All
Operating System Fedoraproject Fedora 34 All All All

References

ReferenceSourceLinkTags
2002271 – (CVE-2021-3781) CVE-2021-3781 ghostscript: sandbox escape using '%pipe%' MISC bugzilla.redhat.com
GPL Ghostscript: Multiple Vulnerabilities (GLSA 202211-11) — Gentoo security GENTOO security.gentoo.org
Ghostscript : CVE-2021-3781 MISC ghostscript.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178789 Debian Security Update for ghostscript (DSA 4972-1)
  • 183563 Debian Security Update for ghostscript (CVE-2021-3781)
  • 198494 Ubuntu Security Notification for Ghostscript Vulnerability (USN-5075-1)
  • 281911 Fedora Security Update for ghostscript (FEDORA-2021-256c80b4eb)
  • 281927 Fedora Security Update for ghostscript (FEDORA-2021-be0a93fb15)
  • 501410 Alpine Linux Security Update for ghostscript
  • 501741 Alpine Linux Security Update for ghostscript
  • 503959 Alpine Linux Security Update for ghostscript
  • 671746 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1804)
  • 671748 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1787)
  • 671798 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1839)
  • 671805 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1863)
  • 710680 Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 202211-11)
  • 751136 SUSE Enterprise Linux Security Update for ghostscript (SUSE-SU-2021:3044-1)
  • 751139 OpenSUSE Security Update for ghostscript (openSUSE-SU-2021:3044-1)
  • 751150 OpenSUSE Security Update for ghostscript (openSUSE-SU-2021:1273-1)
  • 751153 SUSE Enterprise Linux Security Update for ghostscript (SUSE-SU-2021:3180-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report