Bug 2325045 (CVE-2024-46953)

Summary: CVE-2024-46953 ghostscript: Path Traversal and Code Execution via Integer Overflow in Ghostscript
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Artifex Ghostscript base/gsdevice.c. This vulnerability allows path truncation, path traversal, and possible code execution via an integer overflow when parsing the filename format string for the output filename.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2325239, 2325240, 2325241    
Bug Blocks:    

Description OSIDB Bzimport 2024-11-10 22:01:21 UTC
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.

Comment 2 errata-xmlrpc 2025-04-30 09:07:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:4362 https://access.redhat.com/errata/RHSA-2025:4362

Comment 3 errata-xmlrpc 2025-05-13 11:55:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7422 https://access.redhat.com/errata/RHSA-2025:7422

Comment 4 errata-xmlrpc 2025-05-13 15:59:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7499 https://access.redhat.com/errata/RHSA-2025:7499