Vulnerability · Published Aug 13, 2020 · Assigned by mitre
CVE-2020-16297
Medium 5.5
In plain English
A medium-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 2.3% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)2.3%top 16.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A buffer overflow vulnerability in FloydSteinbergDitheringC() in contrib/gdevbjca.c of Artifex Software GhostScript v9.18 to v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | ghostscript | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | ghostscript-doc | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | libgs | 9.27-1.el8 | ALSA-2021:1852 |
| AlmaLinux:8 | libgs-devel | 9.27-1.el8 | ALSA-2021:1852 |
| Alpine:v3.20 | ghostscript | 9.51-r0 | ALPINE-CVE-2020-16297 |
| Alpine:v3.21 | ghostscript | 9.51-r0 | ALPINE-CVE-2020-16297 |
| Alpine:v3.22 | ghostscript | 9.51-r0 | ALPINE-CVE-2020-16297 |
| Alpine:v3.23 | ghostscript | 9.51-r0 | ALPINE-CVE-2020-16297 |
| Alpine:v3.24 | ghostscript | 9.51-r0 | ALPINE-CVE-2020-16297 |
| Debian:12 | ghostscript | 9.51~dfsg-1 | DEBIAN-CVE-2020-16297 |
| Debian:13 | ghostscript | 9.51~dfsg-1 | DEBIAN-CVE-2020-16297 |
| Debian:14 | ghostscript | 9.51~dfsg-1 | DEBIAN-CVE-2020-16297 |
| Rocky Linux:8 | ghostscript | 0:9.27-11.el8 | RLSA-2021:1852 |
| Rocky Linux:8 | ghostscript | 0:9.27-1.el8 | RLSA-2021:1852 |
Affected products (as reported)
References
- https://bugs.ghostscript.com/show_bug.cgi?id=701800
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39
- [debian-lts-announce] 20200820 [SECURITY] [DLA 2335-1] ghostscript security update mailing-list
- DSA-4748 vendor-advisory
- GLSA-202008-20 vendor-advisory
- USN-4469-1 vendor-advisory
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/tree/contrib/gdevbjca.c?h=ghostpdl-9.18#n659
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39 x_refsource_MISC, x_transferred