CVE-2020-15900 A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'pos...
CriticalCVSS 9.8
EPSS 5.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.
Upgrade path
9 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ghostscript(Alpine v3.11) | < 9.50-r1 | 9.50-r1 | Fixed |
| alpine/ghostscript(Alpine v3.12) | < 9.52-r1 | 9.52-r1 | Fixed |
| debian/ghostscript(Debian 12) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 | Fixed |
| debian/ghostscript(Debian 13) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 | Fixed |
| debian/ghostscript(Debian 14) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 | Fixed |
| ubuntu/ghostscript(Ubuntu 20.04) | < 9.50~dfsg-5ubuntu4.1; = 9.27~dfsg+0-0ubuntu3; = 9.27~dfsg+0-0ubuntu4; = 9.50~dfsg-5ubuntu1 +3 more | 9.50~dfsg-5ubuntu4.1 | Fixed |
| artifex ghostscript | = 9.50; = 9.52 | No fix listed | Versions listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed | Versions listed |
| openSUSE leap | = 15.1; = 15.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:12) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 |
| debian/ghostscript(Debian:13) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 |
| debian/ghostscript(Debian:14) | < 9.52.1~dfsg-1 | 9.52.1~dfsg-1 |
| artifex ghostscript | = 9.50 | No fix listed |
| artifex ghostscript | = 9.52 | No fix listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| openSUSE leap | = 15.2 | No fix listed |
| alpine/ghostscript(Alpine:v3.11) | < 9.50-r1 | 9.50-r1 |
| alpine/ghostscript(Alpine:v3.12) | < 9.52-r1 | 9.52-r1 |
| ubuntu/ghostscript(Ubuntu:20.04) | < 9.50~dfsg-5ubuntu4.1 | 9.50~dfsg-5ubuntu4.1 |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.27~dfsg+0-0ubuntu3 | No fix listed |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.27~dfsg+0-0ubuntu4 | No fix listed |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.50~dfsg-5ubuntu1 | No fix listed |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.50~dfsg-5ubuntu2 | No fix listed |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.50~dfsg-5ubuntu3 | No fix listed |
| ubuntu/ghostscript(Ubuntu:20.04) | = 9.50~dfsg-5ubuntu4 | No fix listed |
References
- Debian Security Tracker CVE-2020-15900 vendor-advisory
- git.ghostscript.com
- openSUSE-SU-2020:1142 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2020:1146 mailing-list third-party-advisory vendor-advisory
- artifex.com issue-tracking vendor-advisory
- git.ghostscript.com
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- GLSA-202008-20 third-party-advisory vendor-advisory
- USN-4445-1 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking