CVE-2024-35235
A public proof of concept exists; no exploitation attested.
- Published2024-06-11
- WeaknessCWE-252 · CWE-59
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-06-1115:16CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-25 15:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-35235?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-35235?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | ≤ 2.4.8 | no fix published | NVD · CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cupsAlmaLinux:9all versions · fixed in 1:2.3.3op2-27.el9_4and 7 other packages
- cupsAlmaLinux:8all versions · fixed in 1:2.2.6-60.el8_10and 6 other packages
Vendor advisories
cups: Cupsd Listen arbitrary chmod 0140777
cups as a component of Red Hat Enterprise Linux 6 · cups-devel as a component of Red Hat Enterprise Linux 6 · cups-libs as a component of Red Hat Enterprise Linux 6 · +11 more
Red Hat Security Advisory: cups security update
Red Hat Security Advisory: cups security update
Red Hat Security Advisory: cups security update
Red Hat Security Advisory: cups security update
Red Hat Security Advisory: cups security update
Fix
- Vendor fix Red Hat Product Security RHSA-2024:5644 · 102 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:5644 · 102 productsMitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix planned, says the vendor Red Hat Product Security CVE-2024-35235 · 14 productsOut of support scope
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-06-11
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
Frequently asked questions
What is CVE-2024-35235?
Is CVE-2024-35235 actively exploited?
What is the CVSS score for CVE-2024-35235?
Running cups? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-47175same product
- CVE-2026-34980same productOpenPrinting CUPS: Shared PostScript queue lets anonymous Print-Job requests reach `lp` code execution over the network
- CVE-2023-32324same product
- CVE-2023-34241same product
- CVE-2025-58364same product
- CVE-2020-10001same product
- CVE-2025-58060same product
- CVE-2025-61915same product