Buffer overflow in Ghostscript - CVE-2020-15900

 

Buffer overflow in Ghostscript - CVE-2020-15900

Published: August 4, 2020


Vulnerability identifier: #VU33701
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-15900
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Ghostscript
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

Install updates from vendor's website.

Ghostscript - update to 9.52.1
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

Related Security Bulletins