Code Injection in Ghostscript - CVE-2019-14869

 

Code Injection in Ghostscript - CVE-2019-14869

Published: November 14, 2019 / Updated: July 18, 2022


Vulnerability identifier: #VU22784
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14869
CWE-ID: CWE-94
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 improper input validation when processing Truetype fonts. A remote attacker can trick the use user to open a specially crafted document and execute arbitrary commands on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Ghostscript
ghostscript (Alpine package)
ghostscript (Ubuntu package)
ghostscript
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Opensuse
Fedora

How to mitigate CVE-2019-14869

Install update from vendor's website.

Ghostscript - update to 9.50
ghostscript (Alpine package) - update to 9.26-r5
ghostscript (Ubuntu package) - addressed in versions 9.26~dfsg+0-0ubuntu0.16.04.12, 9.26~dfsg+0-0ubuntu0.18.04.12, 9.26~dfsg+0-0ubuntu7.4, 9.27~dfsg+0-0ubuntu3.1
ghostscript - addressed in versions 9.27-2.fc29, 9.27-2.fc30, 9.27-2.fc31

External References

Related Security Bulletins