CVE-2021-3781 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2002271 | CVE | Issue TrackingPatchThird Party Advisory |
| https://ghostscript.com/CVE-2021-3781.html | CVE | PatchVendor Advisory |
| https://security.gentoo.org/glsa/202211-11 | CVE | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2002271 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://ghostscript.com/CVE-2021-3781.html | [email protected] | PatchVendor Advisory |
| https://security.gentoo.org/glsa/202211-11 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| artifex ghostscript | 9.50 9.52 9.53.3 9.54.0 |
CPE
Remediation
| |
| fedoraproject fedora | 34 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 26, 2023 | Reanalysis | [email protected] |
| Jan 31, 2023 | Modified Analysis | [email protected] |
| Nov 22, 2022 | CVE Modified | [email protected] |
| Feb 28, 2022 | Initial Analysis | [email protected] |