Advisory

UBUNTU-CVE-2021-3781

Also known as: CVE-2021-3781

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.9, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2021-09-08 01:28 UTC
Modified
2026-04-22 12:57 UTC

Affected packages and fixes

ghostscript

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 9.50~dfsg-5ubuntu4.3 (ecosystem)

Fixed versions

9.50~dfsg-5ubuntu4.3

Fix

  • Fixed version 9.50~dfsg-5ubuntu4.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ghostscript

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 9.54.0~dfsg1-0ubuntu2 (ecosystem)

Fixed versions

9.54.0~dfsg1-0ubuntu2

Fix

  • Fixed version 9.54.0~dfsg1-0ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences