Heap-based buffer overflow in cups - CVE-2023-32324

 

Heap-based buffer overflow in cups - CVE-2023-32324

Published: June 1, 2023 / Updated: June 8, 2023


Vulnerability identifier: #VU76761
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-32324
CWE-ID: CWE-122
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the format_log_line() function cups/string.c when the "loglevel" is set to "DEBUG". A remote attacker can pass specially crafted data to the daemon, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

cups
Migration Toolkit for Runtimes
OpenShift Logging
Netcool Operations Insight
Cryostat
App Connect Enterprise Certified Container
Red Hat Migration Toolkit for Applications
Amazon Linux AMI
Gentoo Linux
Oracle Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Oracle Solaris
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Server 12 SP4 LTSS
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Development Tools Module
Desktop Applications Module
openSUSE Leap
Ubuntu
openEuler
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Juniper Secure Analytics (JSA)
Red Hat Single Sign-On
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
cups (Ubuntu package)
cups
cups-libs
cups-debuginfo
cups-client
cups-libs-debuginfo-32bit
cups-client-debuginfo
cups-debugsource
cups-libs-debuginfo
cups-libs-32bit
cups-devel
cups-ddk
cups-ddk-debuginfo
cups (Red Hat package)
cups-filesystem
cups-doc
cups-lpd
cups-ipptool
cups-config
libcups2-debuginfo
libcupsppdc1-debuginfo
libcups2
libcupsimage2-debuginfo
libcupsmime1
libcupscgi1
libcupsimage2
libcupsmime1-debuginfo
libcupscgi1-debuginfo
libcupsmime1-32bit-debuginfo
libcupsppdc1-32bit
libcups2-32bit-debuginfo
libcupscgi1-32bit
libcupsimage2-32bit-debuginfo
libcupsppdc1
libcupsmime1-32bit
cups-devel-32bit
libcupscgi1-32bit-debuginfo
libcupsimage2-32bit
libcups2-32bit
libcupsppdc1-32bit-debuginfo
cups-help
net-print/cups
IBM Cloud Pak for Watson AIOps
EMC Cloud Tiering Appliance
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
RecoverPoint for VMs
IBM Qradar SIEM
Dell EMC VxRail Appliance

How to mitigate CVE-2023-32324

Install updates from vendor's website.

cups - update to 2.4.3
Migration Toolkit for Runtimes - addressed in versions 1.2.3, 1.2.4
Migration Toolkit for Containers - addressed in versions 1.7.15, 1.8.3
Red Hat OpenShift Container Platform - update to 4.11.59
OpenShift Logging - update to 5.8.1
Juniper Secure Analytics (JSA) - update to 7.5.0 UP8 IF03
Red Hat Single Sign-On - update to 7.6.6
cups (Ubuntu package) - addressed in versions Ubuntu Pro, 2.2.7-1ubuntu2.10, 2.3.1-9ubuntu1.3, 2.4.1op1-1ubuntu4.2, 2.4.2-1ubuntu2.1, 2.4.2-3ubuntu2.1
cups - addressed in versions 1.4.2-67.23, 1.4.2-67.25
Netcool Operations Insight - update to 1.6.12
cups-libs - update to 1.7.5-20.39.1
cups-debuginfo - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-client - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-libs-debuginfo-32bit - update to 1.7.5-20.39.1
cups-client-debuginfo - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-debugsource - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-libs-debuginfo - update to 1.7.5-20.39.1
cups-libs-32bit - update to 1.7.5-20.39.1
cups-devel - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-ddk - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups-ddk-debuginfo - addressed in versions 1.7.5-20.39.1, 2.2.7-150000.3.43.1
cups - addressed in versions 2.1.4, 2.4.3
cups (Red Hat package) - addressed in versions 2.2.6-45.el8_6.4, 2.2.6-51.el8_8.3, 2.2.6-54.el8_9, 2.3.3op2-21.el9
cups-filesystem - update to 2.2.6-54.0.1
cups-doc - update to 2.2.6-54.0.1
cups-lpd - update to 2.2.6-54.0.1
cups-libs - update to 2.2.6-54.0.1
cups-ipptool - update to 2.2.6-54.0.1
cups-devel - update to 2.2.6-54.0.1
cups-client - update to 2.2.6-54.0.1
cups - update to 2.2.6-54.0.1
cups-config - update to 2.2.7-150000.3.43.1
libcups2-debuginfo - update to 2.2.7-150000.3.43.1
libcupsppdc1-debuginfo - update to 2.2.7-150000.3.43.1
libcups2 - update to 2.2.7-150000.3.43.1
libcupsimage2-debuginfo - update to 2.2.7-150000.3.43.1
libcupsmime1 - update to 2.2.7-150000.3.43.1
libcupscgi1 - update to 2.2.7-150000.3.43.1
libcupsimage2 - update to 2.2.7-150000.3.43.1
libcupsmime1-debuginfo - update to 2.2.7-150000.3.43.1
libcupscgi1-debuginfo - update to 2.2.7-150000.3.43.1
libcupsmime1-32bit-debuginfo - update to 2.2.7-150000.3.43.1
libcupsppdc1-32bit - update to 2.2.7-150000.3.43.1
libcups2-32bit-debuginfo - update to 2.2.7-150000.3.43.1
libcupscgi1-32bit - update to 2.2.7-150000.3.43.1
libcupsimage2-32bit-debuginfo - update to 2.2.7-150000.3.43.1
libcupsppdc1 - update to 2.2.7-150000.3.43.1
libcupsmime1-32bit - update to 2.2.7-150000.3.43.1
cups-devel-32bit - update to 2.2.7-150000.3.43.1
libcupscgi1-32bit-debuginfo - update to 2.2.7-150000.3.43.1
libcupsimage2-32bit - update to 2.2.7-150000.3.43.1
libcups2-32bit - update to 2.2.7-150000.3.43.1
libcupsppdc1-32bit-debuginfo - update to 2.2.7-150000.3.43.1
cups - update to 2.2.13-14
cups-debugsource - update to 2.2.13-14
cups-debuginfo - update to 2.2.13-14
cups-libs - update to 2.2.13-14
cups-devel - update to 2.2.13-14
cups-help - update to 2.2.13-14
Cryostat - update to 2.4.0
net-print/cups - update to 2.4.7
IBM Cloud Pak for Watson AIOps - update to 4.4.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.0
EMC ViPR SRM - update to 4.10.0.0
App Connect Enterprise Certified Container - addressed in versions 5.0.14, 11.2.0
RecoverPoint for VMs - update to 6.0.SP1.P1
Red Hat Migration Toolkit for Applications - update to 6.2
IBM Qradar SIEM - update to 7.5.0 Update Pack 8 IF02
Dell EMC VxRail Appliance - update to 8.0.101
EMC Cloud Tiering Appliance - addressed in versions 13.1.0.2.33, 13.2.0.2.24

External References

Related Security Bulletins