Lucene search

K
amazonAmazonALAS-2024-2614
HistoryAug 01, 2024 - 3:01 a.m.

Medium: ghostscript

2024-08-0103:01:00
alas.aws.amazon.com
4
artifex ghostscript
heap-based pointer
disclosure
directory traversal
issue
pdf_base_font_alloc
tesseract
ocr
arbitrary file reading
error messages
amazon linux
yum update
security update
red hat
cve-2024-29508
cve-2024-29511
mitre

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

7.2

Confidence

Low

Issue Overview:

Artifex Ghostscript before 10.03.0 has a heap-based pointer disclosure (observable in a constructed BaseFont name) in the function pdf_base_font_alloc. (CVE-2024-29508)

Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and writing of error messages to arbitrary files) via OCRLanguage. For example, exploitation can use debug_file /tmp/out and user_patterns_file /etc/passwd. (CVE-2024-29511)

Affected Packages:

ghostscript

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update ghostscript to update your system.

New Packages:

aarch64:  
    ghostscript-9.54.0-9.amzn2.0.5.aarch64  
    libgs-9.54.0-9.amzn2.0.5.aarch64  
    libgs-devel-9.54.0-9.amzn2.0.5.aarch64  
    ghostscript-gtk-9.54.0-9.amzn2.0.5.aarch64  
    ghostscript-cups-9.54.0-9.amzn2.0.5.aarch64  
    ghostscript-debuginfo-9.54.0-9.amzn2.0.5.aarch64  
  
i686:  
    ghostscript-9.54.0-9.amzn2.0.5.i686  
    libgs-9.54.0-9.amzn2.0.5.i686  
    libgs-devel-9.54.0-9.amzn2.0.5.i686  
    ghostscript-gtk-9.54.0-9.amzn2.0.5.i686  
    ghostscript-cups-9.54.0-9.amzn2.0.5.i686  
    ghostscript-debuginfo-9.54.0-9.amzn2.0.5.i686  
  
noarch:  
    ghostscript-doc-9.54.0-9.amzn2.0.5.noarch  
  
src:  
    ghostscript-9.54.0-9.amzn2.0.5.src  
  
x86_64:  
    ghostscript-9.54.0-9.amzn2.0.5.x86_64  
    libgs-9.54.0-9.amzn2.0.5.x86_64  
    libgs-devel-9.54.0-9.amzn2.0.5.x86_64  
    ghostscript-gtk-9.54.0-9.amzn2.0.5.x86_64  
    ghostscript-cups-9.54.0-9.amzn2.0.5.x86_64  
    ghostscript-debuginfo-9.54.0-9.amzn2.0.5.x86_64  

Additional References

Red Hat: CVE-2024-29508, CVE-2024-29511

Mitre: CVE-2024-29508, CVE-2024-29511

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

7.2

Confidence

Low