OS Command Injection Affecting ghostscript package, versions <9.53.3~dfsg-7+deb11u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.49% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-GHOSTSCRIPT-1584007
  • published10 Sept 2021
  • disclosed16 Feb 2022

Introduced: 10 Sep 2021

CVE-2021-3781  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:11 ghostscript to version 9.53.3~dfsg-7+deb11u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript package and not the ghostscript package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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 Scores

version 3.1