Out-of-bounds write in Ghostscript - CVE-2020-36773

 

Out-of-bounds write in Ghostscript - CVE-2020-36773

Published: July 8, 2024


Vulnerability identifier: #VU93860
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-2020-36773
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in devices/vector/gdevtxtw.c. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

Ghostscript
openEuler
ghostscript
ghostscript-debugsource
ghostscript-tools-dvipdf
ghostscript-debuginfo
ghostscript-devel
ghostscript-help

How to mitigate CVE-2020-36773

Install updates from vendor's website.

Ghostscript - update to 9.53.0
ghostscript - addressed in versions 9.52-11, 9.52-13
ghostscript-debugsource - addressed in versions 9.52-11, 9.52-13
ghostscript-tools-dvipdf - addressed in versions 9.52-11, 9.52-13
ghostscript-debuginfo - addressed in versions 9.52-11, 9.52-13
ghostscript-devel - addressed in versions 9.52-11, 9.52-13
ghostscript-help - addressed in versions 9.52-11, 9.52-13

External References

Related Security Bulletins