CVE-2024-29511
Fixed in a distro release EPSS 1%CVSS 7.5
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.
Products: artifex afpl_ghostscript
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | ghostscript | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2 | ghostscript-cups | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2 | ghostscript-doc | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2 | ghostscript-gtk | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2 | libgs | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2 | libgs-devel | 9.54.0-9.amzn2.0.5 |
| Amazon Linux 2023 | ghostscript | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-doc | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-gtk | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-tools-dvipdf | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-tools-fonts | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-tools-printing | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | ghostscript-x11 | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | libgs | 9.56.1-7.amzn2023.0.9 |
| Amazon Linux 2023 | libgs-devel | 9.56.1-7.amzn2023.0.9 |
| Chainguard | ghostscript | 10.03.1-r0 |
| Debian 12 | ghostscript | no fix |
| Debian 13 | ghostscript | 10.03.0~dfsg-1 |
| Debian 14 | ghostscript | 10.03.0~dfsg-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.13 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.9 |
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.3 |
| Wolfi | ghostscript | 10.03.1-r0 |