Buffer overflow in Ghostscript - CVE-2020-15900
Published: August 4, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when use of a non-standard PostScript operator can allow overriding of file access controls. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Opensuse
openEuler
Ubuntu
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
ghostscript-devel
ghostscript-tools-dvipdf
ghostscript-debugsource
ghostscript-debuginfo
ghostscript-help
How to mitigate CVE-2020-15900
ghostscript (Ubuntu package) - update to 9.50~dfsg-5ubuntu4.15
libgs9 (Ubuntu package) - update to 9.50~dfsg-5ubuntu4.15
ghostscript - update to 9.52-4
ghostscript-devel - update to 9.52-4
ghostscript-tools-dvipdf - update to 9.52-4
ghostscript-debugsource - update to 9.52-4
ghostscript-debuginfo - update to 9.52-4
ghostscript-help - update to 9.52-4
External References
- http://git.ghostscript.com/?p=ghostpdl.git;a=log
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00004.html
- https://artifex.com/security-advisories/CVE-2020-15900
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5d499272b95a6b890a1397e11d20937de000d31b
- https://github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b
- https://github.com/ArtifexSoftware/ghostpdl/commits/master/psi/zstring.c