CVSS 3.1
9.9 criticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HCritical (9.9). EPSS 84% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExplain CVE-2021-3781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3781?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| artifex:ghostscript | 9.50 |
| artifex:ghostscript | 9.52 |
| artifex:ghostscript | 9.53.3 |
| artifex:ghostscript | 9.54.0 |
| fedoraproject:fedora | 34 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ghostscript | 9.53.3~dfsg-7+deb11u1 | DSA-4972-1 |
| Debian | 12, 13, 14 | ghostscript | 9.53.3~dfsg-8 | DEBIAN-CVE-2021-3781 |
| Ubuntu | 20.04:LTS | ghostscript | 9.50~dfsg-5ubuntu4.3 | UBUNTU-CVE-2021-3781 USN-5075-1 |
| Ubuntu | 22.04:LTS | ghostscript | 9.54.0~dfsg1-0ubuntu2 | UBUNTU-CVE-2021-3781 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | ghostscript | 9.52-155.1 | SUSE-SU-2021:3044-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | libspectre | 0.2.8-3.12.1 | SUSE-SU-2021:3044-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | ghostscript | 9.52-23.42.1 | SUSE-SU-2021:3180-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | libspectre | 0.2.7-12.12.1 | SUSE-SU-2021:3180-1 |
| openSUSE | Leap 15.2 | ghostscript, ghostscript-mini | 9.52-lp152.2.7.1 | openSUSE-SU-2021:1273-1 |
| openSUSE | Leap 15.2 | libspectre | 0.2.8-lp152.4.3.1 | openSUSE-SU-2021:1273-1 |
| openSUSE | Leap 15.3 | ghostscript | 9.52-155.1 | openSUSE-SU-2021:3044-1 |
| openSUSE | Leap 15.3 | libspectre | 0.2.8-3.12.1 | openSUSE-SU-2021:3044-1 |
| openSUSE | Tumbleweed | ghostscript | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
| Alpine | v3.13 | ghostscript | 9.53.3-r1 | ALPINE-CVE-2021-3781 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | ghostscript | 9.54-r1 | ALPINE-CVE-2021-3781 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This flaw does not affect ghostscript versions prior to 9.50. As a result, Red Hat Enterprise Linux versions 5, 6, 7 and 8 are not affected by this flaw.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 7 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 8 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 8 | gimp:flatpak/ghostscript | Not affected | |
| Red Hat Enterprise Linux 9 | ghostscript | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3781.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).