Buffer overflow in Ghostscript - CVE-2019-3839

 

Buffer overflow in Ghostscript - CVE-2019-3839

Published: May 13, 2019


Vulnerability identifier: #VU18433
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-3839
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 processing Postsccript files within the GPL PostScript/PDF interpreter. A remote attacker can create a specially crafted Postscript document, trick the victim into opening it, 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
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power
Opensuse
Fedora
ghostscript (Debian package)
ghostscript (Alpine package)
ghostscript

How to mitigate CVE-2019-3839

Install updates from vendor's website.

Ghostscript - update to 9.27
ghostscript (Debian package) - update to 9.26a~dfsg-0+deb9u3
ghostscript (Alpine package) - update to 9.26-r4
ghostscript - addressed in versions 9.27-1.fc29, 9.27-1.fc30, 9.27-1.fc31

External References

Related Security Bulletins