Amazon Linux AMI update for ghostscript



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-21710
CVE-2023-38559
CWE-ID CWE-369
CWE-119
Exploitation vector Network
Public exploit N/A
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 information about 2 vulnerabilities.

1) Division by zero

EUVDB-ID: #VU80810

Risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2020-21710

CWE-ID: CWE-369 - Divide By Zero

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a divide by zero error within the eps_print_page() function in gdevepsn.c. A remote attacker can trick the victim to open a specially crafted PDF file and crash the application.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

ghostscript: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-296.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.

2) Buffer overflow

EUVDB-ID: #VU79041

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-38559

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error within the devn_pcx_write_rle() function in base/gdevdevn.c. A remote attacker can create a specially crafted PDF document, pass it to the affected application, trigger memory corruption and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

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

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

ghostscript: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-296.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.



###SIDEBAR###