Vulnerability · Published Aug 1, 2023 · Assigned by redhat
CVE-2023-38559Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in dos
Medium 5.5
In plain English
A medium-severity out-of-bounds read in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.4%top 62.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | ghostscript | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | ghostscript-doc | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | libgs | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | libgs | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux:8 | libgs-devel | 9.27-11.el8 | ALSA-2023:7053 |
| AlmaLinux:9 | libgs-devel | 9.54.0-13.el9 | ALSA-2023:6544 |
| Debian:12 | ghostscript | 10.0.0~dfsg-11+deb12u2 | DEBIAN-CVE-2023-38559 |
| Debian:13 | ghostscript | 10.02.0~dfsg-1 | DEBIAN-CVE-2023-38559 |
| Debian:14 | ghostscript | 10.02.0~dfsg-1 | DEBIAN-CVE-2023-38559 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.4 | UBUNTU-CVE-2023-38559 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.4 | USN-6297-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- RHSA-2023:6544 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7053 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-38559 vdb-entry, x_refsource_REDHAT
- https://bugs.ghostscript.com/show_bug.cgi?id=706897
- RHBZ#2224367 issue-tracking, x_refsource_REDHAT
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1
- https://lists.debian.org/debian-lts-announce/2023/08/msg00006.html x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GBV6BTUREXM6DB3OGHGLMWGAZ3I45TXE/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QH7ERAYSSXEYDWWY7LOV7CA5MIDZN3Z6/ x_transferred