Alpine: ghostscript: security update to 9.21-r0

high Tenable Self-Hosted Container Security Plugin ID 404564

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- The mem_get_bits_rectangle function in base/gdevmem.c in Artifex Software, Inc. Ghostscript 9.20 allows
remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a
crafted file. (CVE-2017-5951)

- The mem_get_bits_rectangle function in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to
cause a denial of service (NULL pointer dereference) via a crafted PostScript document. (CVE-2017-7207)

- Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams
type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the
gs program, as exploited in the wild in April 2017. (CVE-2017-8291)

See Also

https://security.alpinelinux.org/vuln/CVE-2017-5951

https://security.alpinelinux.org/vuln/CVE-2017-7207

https://security.alpinelinux.org/vuln/CVE-2017-8291

Plugin Details

Severity: High

ID: 404564

Version: Revision 1.37

Type: Local

Published: 10/31/2023

Updated: 7/6/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Critical

Score: 9.4

Percentile: 99.81

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

CVSS Score Source: CVE-2017-8291

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.5

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/4/2017

CISA Known Exploited Vulnerability Due Dates: 6/14/2022

Exploitable With

Metasploit (Ghostscript Type Confusion Arbitrary Command Execution)

Reference Information

CVE: CVE-2017-5951, CVE-2017-7207, CVE-2017-8291

BID: 96995, 98476, 98665

IAVB: 2023-B-0097-S