Rapid7 Vulnerability & Exploit Database

Artifex Ghostscript: (CVE-2022-2085) Null pointer dereference in gx_default_create_buf_device()

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Artifex Ghostscript: (CVE-2022-2085) Null pointer dereference in gx_default_create_buf_device()

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:P)
Published
06/16/2022
Created
07/16/2022
Added
07/05/2022
Modified
02/14/2023

Description

A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory. When allocating a buffer device, it relies on an init_device_procs defined for the device that uses it as a prototype that depends upon the number of bits per pixel. For bpp > 64, mem_x_device is used and does not have an init_device_procs defined. This flaw allows an attacker to parse a large number of bits (more than 64 bits per pixel), which triggers a NULL pointer dereference flaw, causing an application to crash.

Solution(s)

  • ghostscript-upgrade-9_55

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;