Vulnerability · Published Jul 3, 2024 · Assigned by mitre

CVE-2024-33871

High 8.8

In plain English

A high-severity code injection in the ghostscript package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.4%top 27.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for opvp (and oprp) devices can have an arbitrary name for a dynamic library; this library is then loaded.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8ghostscript9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8ghostscript-doc9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript-doc9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8ghostscript-tools-dvipdf9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript-tools-dvipdf9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8ghostscript-tools-fonts9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript-tools-fonts9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8ghostscript-tools-printing9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript-tools-printing9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8ghostscript-x119.27-13.el8_10ALSA-2024:4000
AlmaLinux:9ghostscript-x119.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8libgs9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9libgs9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux:8libgs-devel9.27-13.el8_10ALSA-2024:4000
AlmaLinux:9libgs-devel9.54.0-16.el9_4ALSA-2024:3999
Alpine:v3.20ghostscript10.03.1-r0ALPINE-CVE-2024-33871
Alpine:v3.21ghostscript10.03.1-r0ALPINE-CVE-2024-33871
Alpine:v3.22ghostscript10.03.1-r0ALPINE-CVE-2024-33871
Alpine:v3.23ghostscript10.03.1-r0ALPINE-CVE-2024-33871
Alpine:v3.24ghostscript10.03.1-r0ALPINE-CVE-2024-33871
Debian:12ghostscript10.0.0~dfsg-11+deb12u4DEBIAN-CVE-2024-33871
Debian:12ghostscript10.0.0~dfsg-11+deb12u4DSA-5692-1
Debian:13ghostscript10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33871
Debian:14ghostscript10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33871
Rocky Linux:8ghostscript0:9.27-13.el8_10RLSA-2024:4000
Rocky Linux:9ghostscript0:9.54.0-16.el9_4RLSA-2024:3999
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.7USN-6835-1
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.7UBUNTU-CVE-2024-33871
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.1UBUNTU-CVE-2024-33871
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.1USN-6835-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References