CVE-2021-3781

CRITICALCVSS 9.9/10EPSS 83.91%

Last modified

CVE-2021-3781 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 83.91% chance of exploitation in the next 30 days.

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 3.1
9.9/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS Probability
83.91%

99.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ArtifexGhostscript9.50
ArtifexGhostscript9.52
ArtifexGhostscript9.53.3
ArtifexGhostscript9.54.0
FedoraprojectFedora34

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-3781?
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.
How severe is CVE-2021-3781?
CVE-2021-3781 has a CVSS score of 9.9/10 (CRITICAL severity). The EPSS model estimates a 83.91% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3781?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3781?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST