CVE-2021-3781

Name
CVE-2021-3781
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://bugzilla.redhat.com/show_bug.cgi?id=2002271
MISC https://ghostscript.com/CVE-2021-3781.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:artifex:ghostscript:9.50:*:*:*:*:*:*:* ghostscript == None == 9.50
cpe:2.3:a:artifex:ghostscript:9.52:*:*:*:*:*:*:* ghostscript == None == 9.52
cpe:2.3:a:artifex:ghostscript:9.53.3:*:*:*:*:*:*:* ghostscript == None == 9.53.3
cpe:2.3:a:artifex:ghostscript:9.54.0:*:*:*:*:*:*:* ghostscript == None == 9.54.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ghostscript 3.13-main 9.53.3-r1 Cameron Banta <cbanta@gmail.com> fixed
ghostscript 3.12-main 9.52-r1 Cameron Banta <cbanta@gmail.com> possibly vulnerable
ghostscript 3.14-main 9.54.0-r2 Cameron Banta <cbanta@gmail.com> fixed