8.4
HIGH
CVE-2024-46954
Ghostscript UTF-8 Directory Traversal Vulnerability
Description

An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.

INFO

Published Date :

Nov. 10, 2024, 10:15 p.m.

Last Modified :

Nov. 14, 2024, 1:58 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

2.5
Affected Products

The following products are affected by CVE-2024-46954 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Artifex ghostscript
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-46954.

URL Resource
https://bugs.ghostscript.com/show_bug.cgi?id=707788 Permissions Required
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=55f587dd039282316f512e1bea64218fd991f934 Patch
https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html Product

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-46954 vulnerability anywhere in the article.

  • Cybersecurity News
Ghostscript Update Patches Six Critical Vulnerabilities: Code Execution, Buffer Overflow, and Path Traversal Risks

Popular document rendering engine Ghostscript has released a critical security update addressing multiple vulnerabilities, some of which could lead to remote code execution.Ghostscript, a widely used ... Read more

Published Date: Nov 12, 2024 (5 days, 11 hours ago)

The following table lists the changes that have been made to the CVE-2024-46954 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Nov. 14, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=707788 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=707788 Permissions Required
    Changed Reference Type https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=55f587dd039282316f512e1bea64218fd991f934 No Types Assigned https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=55f587dd039282316f512e1bea64218fd991f934 Patch
    Changed Reference Type https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html No Types Assigned https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html Product
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (excluding) 10.04.0
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 12, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-22
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Received by [email protected]

    Nov. 10, 2024

    Action Type Old Value New Value
    Added Description An issue was discovered in decode_utf8 in base/gp_utf8.c in Artifex Ghostscript before 10.04.0. Overlong UTF-8 encoding leads to possible ../ directory traversal.
    Added Reference MITRE https://bugs.ghostscript.com/show_bug.cgi?id=707788 [No types assigned]
    Added Reference MITRE https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html [No types assigned]
    Added Reference MITRE https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=55f587dd039282316f512e1bea64218fd991f934 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-46954 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability