NULL pointer dereference in Ghostscript - CVE-2022-2085

 

NULL pointer dereference in Ghostscript - CVE-2022-2085

Published: September 20, 2022 / Updated: April 6, 2023


Vulnerability identifier: #VU67507
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2085
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error when processing PDF files. A remote attacker can trick the victim to open a specially crafted PDF file and perform a denial of service (DoS) attack.


Affected software

Ghostscript
Gentoo Linux
Amazon Linux AMI
Ubuntu
openEuler
Fedora
ghostscript (Ubuntu package)
ghostscript
ghostscript-tools-dvipdf
ghostscript-devel
ghostscript-debugsource
ghostscript-debuginfo
ghostscript-help
app-text/ghostscript-gpl

How to mitigate CVE-2022-2085

Install update from vendor's website.

Ghostscript - update to 9.56.0
ghostscript (Ubuntu package) - addressed in versions 9.26~dfsg+0-0ubuntu0.18.04.17, 9.50~dfsg-5ubuntu4.6, 9.55.0~dfsg1-0ubuntu5.1
ghostscript - update to 9.55.0-2
ghostscript-tools-dvipdf - update to 9.55.0-2
ghostscript-devel - update to 9.55.0-2
ghostscript-debugsource - update to 9.55.0-2
ghostscript-debuginfo - update to 9.55.0-2
ghostscript-help - update to 9.55.0-2
app-text/ghostscript-gpl - addressed in versions 9.56.1, 10.01.2
ghostscript - addressed in versions 9.56.1-1.fc35, 9.56.1-1.fc36
ghostscript - update to 9.56.1-5

External References

Related Security Bulletins