Debian DSA-4972-1 : ghostscript - security update

critical Nessus Plugin ID 153215

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-4972 advisory.

- 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. (CVE-2021-3781)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the ghostscript packages.

For the stable distribution (bullseye), this problem has been fixed in version 9.53.3~dfsg-7+deb11u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994011

https://security-tracker.debian.org/tracker/source-package/ghostscript

https://www.debian.org/security/2021/dsa-4972

https://security-tracker.debian.org/tracker/CVE-2021-3781

https://packages.debian.org/source/bullseye/ghostscript

Plugin Details

Severity: Critical

ID: 153215

File Name: debian_DSA-4972.nasl

Version: 1.7

Type: local

Agent: unix

Published: 9/10/2021

Updated: 4/9/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-3781

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:ghostscript-doc, p-cpe:/a:debian:debian_linux:libgs-dev, p-cpe:/a:debian:debian_linux:libgs9-common, p-cpe:/a:debian:debian_linux:ghostscript-x, p-cpe:/a:debian:debian_linux:libgs9, p-cpe:/a:debian:debian_linux:ghostscript

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/10/2021

Vulnerability Publication Date: 9/10/2021

Reference Information

CVE: CVE-2021-3781

IAVB: 2021-B-0055-S