7.8
HIGH
CVE-2024-46953
Ghostscript Filename Format String Integer Overflow Vulnerability
Description

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

INFO

Published Date :

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

Last Modified :

Nov. 14, 2024, 2:01 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-46953 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 Suse linux_enterprise_server
2 Suse linux_enterprise_high_performance_computing
3 Suse linux_enterprise_server_for_sap
1 Debian debian_linux
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-46953.

URL Resource
https://bugs.ghostscript.com/show_bug.cgi?id=707793 Permissions Required
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00 Patch
https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html Product
https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ Third Party Advisory

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-46953 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, 12 hours ago)

The following table lists the changes that have been made to the CVE-2024-46953 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:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=707793 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=707793 Permissions Required
    Changed Reference Type https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00 No Types Assigned https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00 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
    Changed Reference Type https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ No Types Assigned https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ Third Party Advisory
    Added CWE NIST CWE-190
    Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (excluding) 10.04.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:suse:linux_enterprise_high_performance_computing:12.0:sp5:*:*:-:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:-:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss:*:*:* *cpe:2.3:o:suse:linux_enterprise_server:12:sp5:*:*:ltss_extended_security:*:*:* *cpe:2.3:o:suse:linux_enterprise_server_for_sap:12:sp5:*:*:*:*:*:*
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 12, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-190
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:R/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 base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.
    Added Reference MITRE https://bugs.ghostscript.com/show_bug.cgi?id=707793 [No types assigned]
    Added Reference MITRE https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html [No types assigned]
    Added Reference MITRE https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/ [No types assigned]
    Added Reference MITRE https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=1f21a45df0fa3abec4cff12951022b192dda3c00 [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-46953 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-46953 weaknesses.

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