QID 355242

Date Published: 2023-05-29

QID 355242: Amazon Linux Security Advisory for ghostscript : ALAS2023-2023-053

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. (
( CVE-2022-2085)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.5 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-053 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355242

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-053 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-053.html