CVE-2024-35235 in Debian Linux and 1 more product
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, prov...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 10.0 |
| Openprinting | Cups | ≤ 2.4.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-35235 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-194537-M |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
CWE-252: CWE-252
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in OpenPrinting CUPS versions 2.4.8 and earlier allows an attacker to exploit a symbolic link in the Listen configuration item to cause the cupsd process to perform an arbitrary chmod, resulting in world-writable access to the target file or directory.
An attacker can create a symbolic link pointing to a target file or directory and configure the cupsd server to listen on this symbolic link. When the cupsd server starts, it will perform a chmod operation on the target, making it world-writable.
Questions
What is CVE-2024-35235?
A vulnerability in OpenPrinting CUPS versions 2.4.8 and earlier allows an attacker to exploit a symbolic link in the Listen configuration item to cause the cupsd process to perform an arbitrary chmod, resulting in world-writable access to the target file or directory.
What is the CVSS score for CVE-2024-35235?
CVE-2024-35235 has CVSS 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2024-35235 actively exploited?
No confirmed active exploitation of CVE-2024-35235 as of 2026-09-25.
How do I remediate CVE-2024-35235?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-35235?
CVE-2024-35235 affects Debian Debian Linux; Openprinting Cups.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.