Vulnerability · Published Sep 18, 2023 · Assigned by mitre
CVE-2023-43115
High 8.8
In plain English
A high-severity security flaw 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 6.4% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
In Artifex Ghostscript through 10.01.2, gdevijs.c in GhostPDL can lead to remote code execution via crafted PostScript documents because they can switch to the IJS device, or change the IjsServer parameter, after SAFER has been activated. NOTE: it is a documented risk that the IJS server can be specified on a gs command line (the IJS device inherently must execute a command to start the IJS server).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | ghostscript | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | ghostscript | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | libgs | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| AlmaLinux:9 | libgs | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | libgs-devel | 9.54.0-14.el9_3 | ALSA-2023:6732 |
| AlmaLinux:9 | libgs-devel | 9.54.0-11.el9_2 | ALSA-2023:6265 |
| Alpine:v3.20 | ghostscript | 10.02.0-r0 | ALPINE-CVE-2023-43115 |
| Alpine:v3.21 | ghostscript | 10.02.0-r0 | ALPINE-CVE-2023-43115 |
| Alpine:v3.22 | ghostscript | 10.02.0-r0 | ALPINE-CVE-2023-43115 |
| Alpine:v3.23 | ghostscript | 10.02.0-r0 | ALPINE-CVE-2023-43115 |
| Alpine:v3.24 | ghostscript | 10.02.0-r0 | ALPINE-CVE-2023-43115 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u2 | DEBIAN-CVE-2023-43115 |
| Debian:13 | ghostscript | 10.02.0~dfsg-1 | DEBIAN-CVE-2023-43115 |
| Debian:14 | ghostscript | 10.02.0~dfsg-1 | DEBIAN-CVE-2023-43115 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.5 | USN-6433-1 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.5 | UBUNTU-CVE-2023-43115 |