Skip to content
OpenAdvisories
High · 7.5 CVE-2024-29511 EUVD-2024-26514GHSA-g9m4-vfq7-w439

Artifex Ghostscript before 10.03.1, when Tesseract is used for OCR, has a directory traversal issue that allows arbitrary file reading (and…

Published Jul 3, 2024 · Updated Aug 2, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 10.03.0~dfsg-1 —
Debian 13 ghostscript 10.03.0~dfsg-1 —
Debian 12 ghostscript No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ghostscript 10.02.1~dfsg1-0ubuntu7.3 USN-6897-1
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.9 USN-6897-1
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.13 USN-6897-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.9 ALAS2023-2024-692
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.5 ALAS2-2024-2614

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ghostscript 10.03.1-r0 —

Advisories 4

References