OS Command Injection Affecting ghostscript package, versions <9.54.0~dfsg1-0ubuntu2


Severity

Recommended
high

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.34% (72nd 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 ID SNYK-UBUNTU2110-GHOSTSCRIPT-1735752
  • published 10 Sep 2021
  • disclosed 16 Feb 2022

How to fix?

Upgrade Ubuntu:21.10 ghostscript to version 9.54.0~dfsg1-0ubuntu2 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 Ubuntu. See How to fix? for Ubuntu:21.10 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
Expand this section

NVD

9.9 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

SUSE

9.8 critical
Expand this section

Red Hat

9.8 critical