Off-by-one in cups - CVE-2023-4504
Published: September 20, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to an off-by-one error when parsing Postscript objects within the scan_ps() function in cups/raster-interpret.c. A remote attacker can trigger pass a specially crafted PPD file to the affected application, 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
App Connect Enterprise Certified Container
Amazon Linux AMI
Gentoo 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 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 Real Time 15
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
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
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 High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 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
Development Tools Module
Basesystem Module
Desktop Applications Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
Oracle Solaris
macOS
libppd
cups (Ubuntu package)
cups
cups-ddk
cups-ddk-debuginfo
cups-devel
cups-libs-debuginfo
cups-libs
cups-client-debuginfo
cups-libs-32bit
cups-libs-debuginfo-32bit
cups-debugsource
cups-debuginfo
cups-client
libppd2 (Ubuntu package)
libppd
libcups2-debuginfo
libcups2
libcupsimage2
libcupsppdc1
cups-config
libcupsmime1
libcupsimage2-debuginfo
libcupscgi1
libcupsppdc1-debuginfo
libcupscgi1-debuginfo
libcups2-32bit-debuginfo
libcupsimage2-32bit
libcupsppdc1-32bit
cups-devel-32bit
libcupsmime1-debuginfo
libcupsmime1-32bit-debuginfo
libcupsppdc1-32bit-debuginfo
libcupsmime1-32bit
libcups2-32bit
libcupscgi1-32bit
libcupsimage2-32bit-debuginfo
libcupscgi1-32bit-debuginfo
cups-help
cups-ipptool
cups-lpd
cups-printerapp
cups-filesystem
net-print/cups
cups-doc
RecoverPoint for VMs
EMC Cloud Tiering Appliance
How to mitigate CVE-2023-4504
libppd - update to 2.0.0
cups (Ubuntu package) - addressed in versions Ubuntu Pro, 2.3.1-9ubuntu1.6, 2.4.1op1-1ubuntu4.7, 2.4.2-3ubuntu2.5
cups - update to 1.4.2-67.25
cups-ddk - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-ddk-debuginfo - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-devel - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-libs-debuginfo - update to 1.7.5-20.46.1
cups-libs - update to 1.7.5-20.46.1
cups-client-debuginfo - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-libs-32bit - update to 1.7.5-20.46.1
cups-libs-debuginfo-32bit - update to 1.7.5-20.46.1
cups-debugsource - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-debuginfo - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
cups-client - addressed in versions 1.7.5-20.46.1, 2.2.7-150000.3.51.2
libppd2 (Ubuntu package) - update to 2:2.0~rc1-0ubuntu1.2
libppd - addressed in versions 2.0~rc2-4.fc38, 2.0~rc2-4.fc39
cups - addressed in versions 2.1.4, 2.4.7
libcups2-debuginfo - update to 2.2.7-150000.3.51.2
libcups2 - update to 2.2.7-150000.3.51.2
libcupsimage2 - update to 2.2.7-150000.3.51.2
libcupsppdc1 - update to 2.2.7-150000.3.51.2
cups-config - update to 2.2.7-150000.3.51.2
libcupsmime1 - update to 2.2.7-150000.3.51.2
libcupsimage2-debuginfo - update to 2.2.7-150000.3.51.2
libcupscgi1 - update to 2.2.7-150000.3.51.2
libcupsppdc1-debuginfo - update to 2.2.7-150000.3.51.2
libcupscgi1-debuginfo - update to 2.2.7-150000.3.51.2
libcups2-32bit-debuginfo - update to 2.2.7-150000.3.51.2
libcupsimage2-32bit - update to 2.2.7-150000.3.51.2
libcupsppdc1-32bit - update to 2.2.7-150000.3.51.2
cups-devel-32bit - update to 2.2.7-150000.3.51.2
libcupsmime1-debuginfo - update to 2.2.7-150000.3.51.2
libcupsmime1-32bit-debuginfo - update to 2.2.7-150000.3.51.2
libcupsppdc1-32bit-debuginfo - update to 2.2.7-150000.3.51.2
libcupsmime1-32bit - update to 2.2.7-150000.3.51.2
libcups2-32bit - update to 2.2.7-150000.3.51.2
libcupscgi1-32bit - update to 2.2.7-150000.3.51.2
libcupsimage2-32bit-debuginfo - update to 2.2.7-150000.3.51.2
libcupscgi1-32bit-debuginfo - update to 2.2.7-150000.3.51.2
cups-libs - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups-debugsource - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups-debuginfo - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups-help - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups-devel - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups - addressed in versions 2.2.13-18, 2.2.13-19, 2.4.0-10
cups-client - update to 2.4.0-10
cups-ipptool - update to 2.4.0-10
cups-lpd - update to 2.4.0-10
cups-printerapp - update to 2.4.0-10
cups-filesystem - update to 2.4.0-10
net-print/cups - update to 2.4.7
cups-filesystem - update to 2.4.7-1
cups-doc - update to 2.4.7-1
cups-printerapp - update to 2.4.7-1
cups-lpd - update to 2.4.7-1
cups-libs - update to 2.4.7-1
cups-ipptool - update to 2.4.7-1
cups - update to 2.4.7-1
cups-client - update to 2.4.7-1
cups-devel - update to 2.4.7-1
cups - addressed in versions 2.4.7-1.fc37, 2.4.7-1.fc38, 2.4.7-1.fc39
App Connect Enterprise Certified Container - addressed in versions 5.0.14, 11.2.0
RecoverPoint for VMs - update to 6.0.SP1.P1
Oracle Solaris - update to 11.4 SRU 62
EMC Cloud Tiering Appliance - update to 13.1.0.2.35
macOS - update to 15.0 24A335
External References
Related Security Bulletins
- Remote code execution in OpenPrinting CUPS
- Remote code execution in OpenPrinting libppd
- Ubuntu update for libppd
- Ubuntu update for cups
- SUSE update for cups
- SUSE update for cups
- Fedora 39 update for libppd
- Fedora 38 update for libppd
- Ubuntu update for cups
- Fedora 39 update for cups
- Fedora 38 update for cups
- Fedora 37 update for cups
- Slackware Linux update for cups
- Off-by-one in libppd
- Oracle Solaris update for thrid-party components
- SUSE update for cups
- Amazon Linux AMI update for cups
- Dell EMC Cloud Tiering Appliance update for third-party software
- Multiple vulnerabilities in IBM App Connect Enterprise Certified Container
- Gentoo update for CUPS
- openEuler 20.03 LTS SP1 update for cups
- openEuler 22.03 LTS SP1 update for cups
- openEuler 22.03 LTS SP2 update for cups
- openEuler 20.03 LTS SP3 update for cups
- openEuler 22.03 LTS update for cups
- Multiple vulnerabilities in macOS Sequoia
- Multiple vulnerabilities in Dell RecoverPoint for Virtual Machines
- Amazon Linux AMI update for cups
- Anolis OS update for cups