Amazon Linux AMI update for ghostscript



| Updated: 2025-03-04
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-43115
CWE-ID CWE-676
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

ghostscript
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use of Potentially Dangerous Function

EUVDB-ID: #VU81977

Risk: High

CVSSv4.0: 7.3 [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/E:P/U:Amber]

CVE-ID: CVE-2023-43115

CWE-ID: CWE-676 - Use of Potentially Dangerous Function

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists in gdevijs.c in GhostPDL due to the way PostScript handles IJS device change. A remote attacker can trick the victim to open a specially crafted document that will switch to the IJS device, start the IJS server and execute arbitrary commands on the system.

Mitigation

Update the affected packages:

aarch64:
    ghostscript-tools-fonts-9.56.1-7.amzn2023.0.4.aarch64
    libgs-debuginfo-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-tools-printing-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-gtk-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-x11-debuginfo-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-gtk-debuginfo-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-debuginfo-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-tools-dvipdf-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-x11-9.56.1-7.amzn2023.0.4.aarch64
    libgs-devel-9.56.1-7.amzn2023.0.4.aarch64
    libgs-9.56.1-7.amzn2023.0.4.aarch64
    ghostscript-debugsource-9.56.1-7.amzn2023.0.4.aarch64

noarch:
    ghostscript-doc-9.56.1-7.amzn2023.0.4.noarch

src:
    ghostscript-9.56.1-7.amzn2023.0.4.src

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

Vulnerable software versions

Amazon Linux AMI: All versions

ghostscript: before 9.56.1-7

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-362.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###