CVE-2024-29511

Publication date 3 July 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
ghostscript 24.04 LTS noble
Fixed 10.02.1~dfsg1-0ubuntu7.3
23.10 mantic Ignored end of life, was needed
22.04 LTS jammy
Fixed 9.55.0~dfsg1-0ubuntu5.9
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected

Notes


mdeslaur

while Debian doesn’t build Tesseract support, it looks like Ubuntu does in fact have Tesseract support in jammy+ second commit is required to prevent regression in pdf2ps

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ghostscript

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-6897-1
    • Ghostscript vulnerabilities
    • 15 July 2024

Other references