CVE-2024-35235
MEDIUMEPSS 83th pctlDescription
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.
How to fix
This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Elevated risk: more likely to be exploited than 83% of all known CVEs.
References
Related Vulnerabilities
Other CWE-59 (Link Following) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-30333 | High | 7.5 | 99% | KEV + Ransom | Fix |
| CVE-2021-21300 | High | 8.0 | 89% | - | Fix |
| CVE-2021-32610 | High | 7.1 | 73% | - | Fix |
| CVE-2020-36193 | High | 7.5 | 71% | KEV | Fix |
| CVE-2023-40028 | Medium | 4.9 | 69% | - | Fix |
| CVE-2023-36874 | High | 7.8 | 43% | KEV | Fix |
Common questions
How do I fix CVE-2024-35235?
Published advisories record a fix for 32 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2024-35235 being actively exploited?
Not that we know of. CVE-2024-35235 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 83% of all scored CVEs.
How severe is CVE-2024-35235?
CVE-2024-35235 has a CVSS v3 base score of 4.4, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2024-35235 affect?
Published advisories record a fix for cups (Debian), cups (Rocky), cups (Red Hat / RHEL), cups-client (Red Hat / RHEL), and 28 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2024-35235
Markdown
[](https://tridentstack.com/cve/CVE-2024-35235)HTML
<a href="https://tridentstack.com/cve/CVE-2024-35235"><img src="https://tridentstack.com/cve/badge/CVE-2024-35235.svg" alt="CVE-2024-35235"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-26.