CVE-2024-46953

ghostscript: Path Traversal and Code Execution via Integer Overflow in Ghostscript

Published Nov 10, 2024 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3965-1 ghostscript security update
Debian DSA Debian DSA DSA-5808-1 ghostscript security update
Ubuntu USN Ubuntu USN USN-7103-1 Ghostscript vulnerabilities
Ubuntu USN Ubuntu USN USN-7138-1 Ghostscript vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00061}

epss

{'score': 0.00062}

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10.0
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Suse
Suse linux Enterprise High Performance Computing
Suse linux Enterprise Server
Suse linux Enterprise Server For Sap
CPEs cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
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:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Suse
Suse linux Enterprise High Performance Computing
Suse linux Enterprise Server
Suse linux Enterprise Server For Sap
Type Values Removed Values Added
First Time appeared Artifex
Artifex ghostscript
CPEs cpe:2.3:a:artifex:ghostscript:10.04.0:*:*:*:*:*:*:*
Vendors & Products Artifex
Artifex ghostscript
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title ghostscript: Path Traversal and Code Execution via Integer Overflow in Ghostscript
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values 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.
References