cve.bz

CVE-2024-29511 artifex ghostscript: Active Debug Code

7.5 highEPSS 1.1%

High (7.5) in artifex ghostscript. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-07-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-489 Active Debug Code
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-29511 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29511?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29511?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-29511 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 10.03.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ghostscriptno fix listedDEBIAN-CVE-2024-29511
Debian13, 14ghostscript10.03.0~dfsg-1DEBIAN-CVE-2024-29511
Ubuntu20.04:LTSghostscript9.50~dfsg-5ubuntu4.13USN-6897-1
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.9UBUNTU-CVE-2024-29511 USN-6897-1
Ubuntu24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.3UBUNTU-CVE-2024-29511 USN-6897-1
Alpaquita23ghostscriptno fix listedBELL-CVE-2024-29511
Alpaquitastreamghostscript10.03.1-r0BELL-CVE-2024-29511

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The CVE-2024-29511 vulnerability in Ghostscript, when used with Tesseract for OCR, is classified as a moderate severity issue rather than a important one due to its limited exploitability and scope of impact. The vulnerability primarily allows for directory traversal to read and write error messages to arbitrary files, which can lead to unauthorized access to sensitive information. However, it does not facilitate remote code execution (RCE) or direct system compromise. Exploitation requires specific conditions, such as Ghostscript being compiled with Tesseract support and the attacker having the capability to supply crafted Postscript files. The inherent need for precise conditions and lack of direct execution capabilities mitigate the overall risk, rendering the issue moderate rather than important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscriptNot affected
Red Hat Enterprise Linux 7ghostscriptNot affected
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscriptNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-29511.

Attack patterns (CAPEC)

  • CAPEC-121 Exploit Non-Production Interfaces Likelihood: Low · Severity: High
  • CAPEC-661 Root/Jailbreak Detection Evasion via Debugging Likelihood: Medium · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON