9.9

CVE-2021-3781: artifex ghostscript Improper Input Validation

CVSS: 9.9v3.1CriticalModified
AliasesALPINE-CVE-2021-3781MGASA-2021-0436SUSE-SU-2021:3044-1
Published 16-02-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-3781 is a critical (CVSS 9.9) Improper Input Validation vulnerability in artifex ghostscript. EPSS estimates a 83.91% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.9/10
010
Critical · v3.1 (NVD)
EPSS score
83.91%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-02-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

83.91%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 83.91% on 20-09-2026

20-09-202620-10-2026
EPSS score
83.91%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse58 products
  • ghostscript&distro=HPE Helion OpenStack 8< 9.52-23.42.1
  • ghostscript&distro=SUSE Enterprise Storage 6< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 9.52-155.1
Opensuse5 products
  • ghostscript-mini&distro=openSUSE Leap 15.2< 9.52-lp152.2.7.1
  • ghostscript&distro=openSUSE Leap 15.2< 9.52-lp152.2.7.1
  • ghostscript&distro=openSUSE Leap 15.3< 9.52-155.1
  • libspectre&distro=openSUSE Leap 15.2< 0.2.8-lp152.4.3.1
  • libspectre&distro=openSUSE Leap 15.3< 0.2.8-3.12.1
Alpine1 product
  • ghostscript< 9.53.3-r1 | < 9.54-r1
Artifex1 product
Debian1 product
  • ghostscript< 9.53.3~dfsg-8 | < 9.53.3~dfsg-7+deb11u1
Fedoraproject1 product
Mageia1 product
  • ghostscript< 9.53.3-2.1.mga8
Ubuntu1 product
  • ghostscript< 9.50~dfsg-5ubuntu4.3 | < 9.54.0~dfsg1-0ubuntu2

8 vendors · 69 products

References

20 links
Show all 20 references