CVE-2021-3781

ghostscript: A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecti...

CVE-2021-3781 is fixed in 4 products on 1 platform, first by ghostscript 9.50~dfsg-5ubuntu4.3, released September 7, 2021. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
9.9
critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.8391
99th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
ghostscript · Debian 12.15 (bookworm) 9.53.3~dfsg-8 DEBIAN-CVE-2021-3781 Feb 16, 2022
ghostscript · Debian 13.5 (trixie) 9.53.3~dfsg-8 DEBIAN-CVE-2021-3781 Feb 16, 2022
ghostscript · Debian 14 9.53.3~dfsg-8 DEBIAN-CVE-2021-3781 Feb 16, 2022
ghostscript · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.3 ghostscript 9.50~dfsg-5ubuntu4.3 Sep 7, 2021
ghostscript · Ubuntu 22.04.1 LTS (jammy) 9.54.0~dfsg1-0ubuntu2 ghostscript 9.54.0~dfsg1-0ubuntu2 Sep 7, 2021
ghostscript-x · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.3 ghostscript-x 9.50~dfsg-5ubuntu4.3 Sep 7, 2021
ghostscript-x · Ubuntu 22.04.1 LTS (jammy) 9.54.0~dfsg1-0ubuntu2 ghostscript-x 9.54.0~dfsg1-0ubuntu2 Sep 7, 2021
libgs9 · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.3 libgs9 9.50~dfsg-5ubuntu4.3 Sep 7, 2021
libgs9 · Ubuntu 22.04.1 LTS (jammy) 9.54.0~dfsg1-0ubuntu2 libgs9 9.54.0~dfsg1-0ubuntu2 Sep 7, 2021
libgs9-common · Ubuntu 20.04 LTS (focal) 9.50~dfsg-5ubuntu4.3 libgs9-common 9.50~dfsg-5ubuntu4.3 Sep 7, 2021
libgs9-common · Ubuntu 22.04.1 LTS (jammy) 9.54.0~dfsg1-0ubuntu2 libgs9-common 9.54.0~dfsg1-0ubuntu2 Sep 7, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.