CVE & CISA-KEV Catalog

CVE-2024-35235

MEDIUMEPSS 83th pctl
4.4
CVSS v3
NVD

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.

How to fix

Remediation Available
cupsDebian
Fixed in:2.3.3op2-3+deb11u7CVE-2024-35235
Fixed in:2.4.2-3+deb12u6CVE-2024-35235
Fixed in:2.4.7-2CVE-2024-35235
Fixed in:2.4.7-2CVE-2024-35235
cupsRocky
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cupsRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-clientRed Hat / RHEL
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cups-clientRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-client-debuginfoRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-client-debuginfoRocky
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-debuginfoRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-debuginfoRocky
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-debugsourceRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-debugsourceRocky
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-develRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cups-develRed Hat / RHEL
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cups-filesystemRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
cups-filesystemRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
cups-ipptoolRocky
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cups-ipptoolRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-ipptool-debuginfoRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-ipptool-debuginfoRed Hat / RHEL
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-libsRed Hat / RHEL
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-libsRocky
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-libs-debuginfoRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-libs-debuginfoRed Hat / RHEL
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
cups-lpdRed Hat / RHEL
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-lpdRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-lpd-debuginfoRed Hat / RHEL
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
cups-lpd-debuginfoRocky
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-45.el8_6.5RHSA-2024:4715
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
Fixed in:1:2.2.6-51.el8_8.4RHSA-2024:4580
Fixed in:1:2.2.6-60.el8_10RHSA-2024:4265
cups-printerappRed Hat / RHEL
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
cups-printerappRocky
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
cups-printerapp-debuginfoRocky
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-16.el9_2.2RHSA-2024:5644
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776
Fixed in:1:2.3.3op2-27.el9_4RHSA-2024:4776

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

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

2.42%probability of exploitation in 30 days
83rdpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2022-30333High7.599%KEV + RansomFix
CVE-2021-21300High8.089%-Fix
CVE-2021-32610High7.173%-Fix
CVE-2020-36193High7.571%KEVFix
CVE-2023-40028Medium4.969%-Fix
CVE-2023-36874High7.843%KEVFix

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
CVE-2024-35235 severity badge

Markdown

[![CVE-2024-35235](https://tridentstack.com/cve/badge/CVE-2024-35235.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.