CyberSecBulletin
CVE-2024-29511NVD status: Analyzed

afpl_ghostscript: Active Debug Code

CVE-2024-29511 is a high-severity active debug code vulnerability in afpl_ghostscript from Artifex, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 10.03.1 as the first without the flaw, so updating afpl_ghostscript to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.14% chance of exploitation within 30 days, higher than 67% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update afpl_ghostscript to 10.03.1 or a later version.
  2. Update Ghostscript to 10.03.1 or a later version.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Artifexafpl_ghostscriptbefore 10.03.110.03.1
ArtifexGhostscriptbefore 10.03.110.03.1

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by CISA (ADP).

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Active Debug Code

The product is released with debugging code still enabled or active.

How developers prevent this class of flaw

  • Remove debug code before deploying the application.

More Active Debug Code vulnerabilities (CWE-489)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Active Debug Code vulnerabilities

Spotted an error? Tell us.