ALAS2023-2023-053


Amazon Linux 2023 Security Advisory: ALAS-2023-053
Advisory Release Date: 2023-02-17 20:45 Pacific
Advisory Updated Date: 2023-02-22 23:37 Pacific
Severity: Medium

Issue Overview:

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)


Affected Packages:

ghostscript


Issue Correction:
Run dnf update ghostscript --releasever=2023.0.20230222 to update your system.

New Packages:
aarch64:
    ghostscript-tools-fonts-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-tools-dvipdf-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-debuginfo-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-x11-debuginfo-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-gtk-debuginfo-9.56.1-5.amzn2023.0.1.aarch64
    libgs-debuginfo-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-x11-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-gtk-9.56.1-5.amzn2023.0.1.aarch64
    libgs-devel-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-tools-printing-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-9.56.1-5.amzn2023.0.1.aarch64
    libgs-9.56.1-5.amzn2023.0.1.aarch64
    ghostscript-debugsource-9.56.1-5.amzn2023.0.1.aarch64

noarch:
    ghostscript-doc-9.56.1-5.amzn2023.0.1.noarch

src:
    ghostscript-9.56.1-5.amzn2023.0.1.src

x86_64:
    ghostscript-debuginfo-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-gtk-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-tools-fonts-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-gtk-debuginfo-9.56.1-5.amzn2023.0.1.x86_64
    libgs-debuginfo-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-tools-dvipdf-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-x11-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-tools-printing-9.56.1-5.amzn2023.0.1.x86_64
    libgs-devel-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-x11-debuginfo-9.56.1-5.amzn2023.0.1.x86_64
    libgs-9.56.1-5.amzn2023.0.1.x86_64
    ghostscript-debugsource-9.56.1-5.amzn2023.0.1.x86_64