Bug 1217871 (CVE-2023-46751)

Summary: VUL-0: CVE-2023-46751: ghostscript,ghostscript-mini: ghostscript: dangling pointer in gdev_prn_open_printer_seekable()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: andrea.mattiazzo, jsmeix
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/387235/
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1218404
Whiteboard: CVSSv3.1:SUSE:CVE-2023-46751:7.5:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-12-07 09:43:29 UTC
An issue was discovered in the function gdev_prn_open_printer_seekable() in Artifex Ghostscript through 10.02.0 allows remote attackers to crash the application via a dangling pointer.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-46751

Patch:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=dcdbc595c13c9d11d235702dff46bb74c80f7698#patch2
Comment 7 Maintenance Automation 2023-12-20 12:30:14 UTC
SUSE-SU-2023:4920-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1217871
CVE References: CVE-2023-46751
Sources used:
openSUSE Leap 15.4 (src): ghostscript-9.52-150000.177.1
openSUSE Leap 15.5 (src): ghostscript-9.52-150000.177.1
Basesystem Module 15-SP4 (src): ghostscript-9.52-150000.177.1
Basesystem Module 15-SP5 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): ghostscript-9.52-150000.177.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): ghostscript-9.52-150000.177.1
SUSE Enterprise Storage 7.1 (src): ghostscript-9.52-150000.177.1
SUSE CaaS Platform 4.0 (src): ghostscript-9.52-150000.177.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2023-12-20 12:30:20 UTC
SUSE-SU-2023:4917-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1217871
CVE References: CVE-2023-46751
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): ghostscript-9.52-23.63.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): ghostscript-9.52-23.63.1
SUSE Linux Enterprise Server 12 SP5 (src): ghostscript-9.52-23.63.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): ghostscript-9.52-23.63.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Johannes Meixner 2024-01-03 12:30:50 UTC
Fixed for openSUSE:Factory
---------------------------------------------------------------
# osc submitrequest -m "Security fix CVE-2023-46751 \
 bsc#1217871 for ghostscript and ghostscript-mini" \
 home:jsmeix:branches:Printing ghostscript Printing ghostscript

created request id 1136515

# osc request accept -m "Security fix CVE-2023-46751 \
 bsc#1217871 for ghostscript and ghostscript-mini" 1136515

Result of change request state: ok
openSUSE:Factory 
Forward this submit to it? ([y]/n)y
Security fix CVE-2023-46751 bsc#1217871 for ghostscript
and ghostscript-mini (forwarded request 1136515 from jsmeix)
New request # 1136517
---------------------------------------------------------------
Comment 10 OBSbugzilla Bot 2024-01-03 13:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1217871) was mentioned in
https://build.opensuse.org/request/show/1136517 Factory / ghostscript
Comment 14 Carlos López 2024-05-28 11:53:02 UTC
Done, closing.