CVE-2024-35235
published medium CVSS 3.1 · 4.4Cupsd Listen arbitrary chmod 0140777
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenPrinting | — | cups<= 2.4.8 | Affected | Not stated | GitHub_M |
| openprinting | — | cups0 through 2.4.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-660 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | cups | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| Alpine Linux | edge | cups | Fixed | 2.4.9-r0 | Package fix record |
| Debian | buster | cups | Advisory build | 2.2.10-6+deb10u10 | DLA-3826-1 |
| Oracle Linux | 8 | cupsaarch64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | cupsaarch64 | Advisory build | 1:2.2.6-45.el8_6.5 | RHSA-2024:4715 |
| SUSE / openSUSE | SLE-12-SP5 | cupsaarch64 | Advisory build | 1.7.5-20.49.1 | SUSE-SU-2024:2002-1 |
| Ubuntu | bionic | cups | Advisory build | 2.2.7-1ubuntu2.10+esm4 | USN-6844-1 |
| AlmaLinux | 9 | cups | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| Alpine Linux | v3.17 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.18 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.19 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.20 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.21 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.22 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.23 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.24 | cups | Fixed | 2.4.9-r0 | Package fix record |
| Oracle Linux | 8 | cupsx86_64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
| Oracle Linux | 9 | cupsaarch64 | Advisory build | 1:2.3.3op2-27.el9_4 | ELSA-2024-4776 |
| Oracle Linux | 9 | cupsx86_64 | Advisory build | 1:2.3.3op2-27.el9_4 | ELSA-2024-4776 |
| Red Hat Enterprise Linux | RHEL-8 | cupsaarch64 | Advisory build | 1:2.2.6-51.el8_8.4 | RHSA-2024:4580 |
| Red Hat Enterprise Linux | RHEL-8 | cupsaarch64 | Advisory build | 1:2.2.6-60.el8_10 | RHSA-2024:4265 |
| Red Hat Enterprise Linux | RHEL-8 | cupsppc64le | Advisory build | 1:2.2.6-45.el8_6.5 | RHSA-2024:4715 |
| Red Hat Enterprise Linux | RHEL-8 | cupsppc64le | Advisory build | 1:2.2.6-51.el8_8.4 | RHSA-2024:4580 |
| Red Hat Enterprise Linux | RHEL-8 | cupsppc64le | Advisory build | 1:2.2.6-60.el8_10 | RHSA-2024:4265 |
| Red Hat Enterprise Linux | RHEL-8 | cupss390x | Advisory build | 1:2.2.6-45.el8_6.5 | RHSA-2024:4715 |
| Red Hat Enterprise Linux | RHEL-8 | cupss390x | Advisory build | 1:2.2.6-51.el8_8.4 | RHSA-2024:4580 |
| Red Hat Enterprise Linux | RHEL-8 | cupss390x | Advisory build | 1:2.2.6-60.el8_10 | RHSA-2024:4265 |
| Red Hat Enterprise Linux | RHEL-8 | cupssrc | Advisory build | 1:2.2.6-45.el8_6.5 | RHSA-2024:4715 |
| Red Hat Enterprise Linux | RHEL-8 | cupssrc | Advisory build | 1:2.2.6-51.el8_8.4 | RHSA-2024:4580 |
| Red Hat Enterprise Linux | RHEL-8 | cupssrc | Advisory build | 1:2.2.6-60.el8_10 | RHSA-2024:4265 |
| Red Hat Enterprise Linux | RHEL-8 | cupsx86_64 | Advisory build | 1:2.2.6-45.el8_6.5 | RHSA-2024:4715 |
| Red Hat Enterprise Linux | RHEL-8 | cupsx86_64 | Advisory build | 1:2.2.6-51.el8_8.4 | RHSA-2024:4580 |
| Red Hat Enterprise Linux | RHEL-8 | cupsx86_64 | Advisory build | 1:2.2.6-60.el8_10 | RHSA-2024:4265 |
| Red Hat Enterprise Linux | RHEL-9 | cupsaarch64 | Advisory build | 1:2.3.3op2-16.el9_2.2 | RHSA-2024:5644 |
| Red Hat Enterprise Linux | RHEL-9 | cupsaarch64 | Advisory build | 1:2.3.3op2-27.el9_4 | RHSA-2024:4776 |
| Red Hat Enterprise Linux | RHEL-9 | cupsppc64le | Advisory build | 1:2.3.3op2-16.el9_2.2 | RHSA-2024:5644 |
| Red Hat Enterprise Linux | RHEL-9 | cupsppc64le | Advisory build | 1:2.3.3op2-27.el9_4 | RHSA-2024:4776 |
| Red Hat Enterprise Linux | RHEL-9 | cupss390x | Advisory build | 1:2.3.3op2-16.el9_2.2 | RHSA-2024:5644 |
| Red Hat Enterprise Linux | RHEL-9 | cupss390x | Advisory build | 1:2.3.3op2-27.el9_4 | RHSA-2024:4776 |
| Red Hat Enterprise Linux | RHEL-9 | cupssrc | Advisory build | 1:2.3.3op2-16.el9_2.2 | RHSA-2024:5644 |
| Red Hat Enterprise Linux | RHEL-9 | cupssrc | Advisory build | 1:2.3.3op2-27.el9_4 | RHSA-2024:4776 |
| Red Hat Enterprise Linux | RHEL-9 | cupsx86_64 | Advisory build | 1:2.3.3op2-16.el9_2.2 | RHSA-2024:5644 |
| Red Hat Enterprise Linux | RHEL-9 | cupsx86_64 | Advisory build | 1:2.3.3op2-27.el9_4 | RHSA-2024:4776 |
| SUSE / openSUSE | SLE-12-SP5 | cupsppc64le | Advisory build | 1.7.5-20.49.1 | SUSE-SU-2024:2002-1 |
| SUSE / openSUSE | SLE-12-SP5 | cupss390x | Advisory build | 1.7.5-20.49.1 | SUSE-SU-2024:2002-1 |
| SUSE / openSUSE | SLE-12-SP5 | cupsx86_64 | Advisory build | 1.7.5-20.49.1 | SUSE-SU-2024:2002-1 |
| SUSE / openSUSE | SLE-15-SP2 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP2 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP3 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP4 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP5 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP5 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP5 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP5 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP6 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP6 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP6 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | SLE-15-SP6 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cupsaarch64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cupsppc64le | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cupss390x | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cupsx86_64 | Advisory build | 2.2.7-150000.3.59.1 | SUSE-SU-2024:2003-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cupsaarch64 | Advisory build | 2.4.8-1.1 | OPENSUSE-SU-2024:14041-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cupsppc64le | Advisory build | 2.4.8-1.1 | OPENSUSE-SU-2024:14041-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cupss390x | Advisory build | 2.4.8-1.1 | OPENSUSE-SU-2024:14041-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cupsx86_64 | Advisory build | 2.4.8-1.1 | OPENSUSE-SU-2024:14041-1 |
| Ubuntu | focal | cups | Advisory build | 2.3.1-9ubuntu1.7 | USN-6844-1 |
| Ubuntu | jammy | cups | Advisory build | 2.4.1op1-1ubuntu4.9 | USN-6844-1 |
| Ubuntu | noble | cups | Advisory build | 2.4.7-1.2ubuntu7.1 | USN-6844-1 |
| Ubuntu | xenial | cups | Advisory build | 2.1.3-4ubuntu0.11+esm6 | USN-6844-1 |
| AlmaLinux | 8 | cups-client | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 8 | cups-devel | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 8 | cups-filesystem | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 8 | cups-ipptool | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 8 | cups-libs | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 8 | cups-lpd | Advisory build | 1:2.2.6-60.el8_10 | ALSA-2024:4265 |
| AlmaLinux | 9 | cups-client | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-devel | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-filesystem | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-ipptool | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-libs | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-lpd | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| AlmaLinux | 9 | cups-printerapp | Advisory build | 1:2.3.3op2-27.el9_4 | ALSA-2024:4776 |
| Oracle Linux | 8 | cups-clientaarch64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
| Oracle Linux | 8 | cups-clientx86_64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
| Oracle Linux | 8 | cups-develaarch64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
| Oracle Linux | 8 | cups-develx86_64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
| Oracle Linux | 8 | cups-filesystemaarch64 | Advisory build | 1:2.2.6-60.el8_10 | ELSA-2024-4265 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a `FoomaticRIPCommandLine` argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenPrinting | cups | <= 2.4.8 (affected) | GitHub_M · cna |
| openprinting | cups | 0 through 2.4.8 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
- CWE-252 CWE-252: Unchecked Return Value
References
9- http://www.openwall.com/lists/oss-security/2024/06/11/1
- http://www.openwall.com/lists/oss-security/2024/06/12/4
- http://www.openwall.com/lists/oss-security/2024/06/12/5
- http://www.openwall.com/lists/oss-security/2024/11/08/3
- https://git.launchpad.net/ubuntu/+source/apparmor/tree/profiles/apparmor.d/abstractions/user-tmp#n21
- https://github.com/OpenPrinting/cups/blob/aba917003c8de55e5bf85010f0ecf1f1ddd1408e/cups/http-addr.c#L229-L240
- https://github.com/OpenPrinting/cups/commit/ff1f8a623e090dee8a8aadf12a6a4b25efac143d
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-vvwp-mv6j-hw6f
- https://lists.debian.org/debian-lts-announce/2024/06/msg00001.html
Provider assertions
3GitHub_M · cna
Cupsd Listen arbitrary chmod 0140777
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c71cf3eae99e37cad9cf7a1ad31ecc372cc9027d3237443cc85d2e2247ce283e
- Ingested
- 23 Sep 2026, 08:23:37 UTC
- Source record
- Official CVE record