CVE-2021-25317
cups: ownership of /var/log/cups allows the lp user to create files as root
Mitigation
- Upgrade SUSE Linux Enterprise Server 11-SP4-LTSS to 1.3.9 or later.
- Upgrade SUSE Manager Server 4.0 to 2.2.7 or later.
- Upgrade SUSE OpenStack Cloud Crowbar 9 to 1.7.5 or later.
- Upgrade openSUSE Leap 15.2 to 2.2.7 or later.
Who should check
- Anyone running SUSE Linux Enterprise Server 11-SP4-LTSS >= cups, < 1.3.9
- Anyone running SUSE Manager Server 4.0 >= cups, < 2.2.7
- Anyone running SUSE OpenStack Cloud Crowbar 9 >= cups, < 1.7.5
- Anyone running openSUSE Leap 15.2 >= cups, < 2.2.7
- Anyone running openSUSE Factory >= cups, <= 2.3.3op2-2.1
Vulnerability facts
- Affected
- SUSE Linux Enterprise Server 11-SP4-LTSS >= cups, < 1.3.9; SUSE Manager Server 4.0 >= cups, < 2.2.7; SUSE OpenStack Cloud Crowbar 9 >= cups, < 1.7.5; openSUSE Leap 15.2 >= cups, < 2.2.7; openSUSE Factory >= cups, <= 2.3.3op2-2.1
- Fixed in
- SUSE Linux Enterprise Server 11-SP4-LTSS 1.3.9, SUSE Manager Server 4.0 2.2.7, SUSE OpenStack Cloud Crowbar 9 1.7.5, openSUSE Leap 15.2 2.2.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-276
- Modified
Description
A Incorrect Default Permissions vulnerability in the packaging of cups of SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Manager Server 4.0, SUSE OpenStack Cloud Crowbar 9; openSUSE Leap 15.2, Factory allows local attackers with control of the lp users to create files as root with 0644 permissions without the ability to set the content. This issue affects: SUSE Linux Enterprise Server 11-SP4-LTSS cups versions prior to 1.3.9. SUSE Manager Server 4.0 cups versions prior to 2.2.7. SUSE OpenStack Cloud Crowbar 9 cups versions prior to 1.7.5. openSUSE Leap 15.2 cups versions prior to 2.2.7. openSUSE Factory cups version 2.3.3op2-2.1 and prior versions.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| SUSE Linux Enterprise Server 11-SP4-LTSS | >= cups, < 1.3.9 | — | cvelist |
| SUSE Manager Server 4.0 | >= cups, < 2.2.7 | — | cvelist |
| SUSE OpenStack Cloud Crowbar 9 | >= cups, < 1.7.5 | — | cvelist |
| openSUSE Leap 15.2 | >= cups, < 2.2.7 | — | cvelist |
| openSUSE Factory | >= cups, <= 2.3.3op2-2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-25317. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-25317.md Affected: SUSE Linux Enterprise Server 11-SP4-LTSS >= cups, < 1.3.9; SUSE Manager Server 4.0 >= cups, < 2.2.7; SUSE OpenStack Cloud Crowbar 9 >= cups, < 1.7.5; openSUSE Leap 15.2 >= cups, < 2.2.7; openSUSE Factory >= cups, <= 2.3.3op2-2.1 Fixed in: SUSE Linux Enterprise Server 11-SP4-LTSS 1.3.9, SUSE Manager Server 4.0 2.2.7, SUSE OpenStack Cloud Crowbar 9 1.7.5, openSUSE Leap 15.2 2.2.7 Steps: 1. Search this machine and project for SUSE Linux Enterprise Server 11-SP4-LTSS, SUSE Manager Server 4.0, SUSE OpenStack Cloud Crowbar 9, openSUSE Leap 15.2, openSUSE Factory: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://bugzilla.suse.com/show_bug.cgi?id=1184161
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H74BP746O5NNVCBUTLLZYAFBPESFVECV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S37IDQGHTORQ3Z6VRDQIGBYVOI27YG47/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GWPGZLT3U776Q5YPPSA6LGFWWBDWBVH3/
FAQ
Is CVE-2021-25317 being exploited?
There is no confirmed exploitation: CVE-2021-25317 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-25317?
Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-25317?
SUSE Linux Enterprise Server 11-SP4-LTSS >= cups, < 1.3.9; SUSE Manager Server 4.0 >= cups, < 2.2.7; SUSE OpenStack Cloud Crowbar 9 >= cups, < 1.7.5; openSUSE Leap 15.2 >= cups, < 2.2.7; openSUSE Factory >= cups, <= 2.3.3op2-2.1.
Is there a fix for CVE-2021-25317?
Yes. Fixed in SUSE Linux Enterprise Server 11-SP4-LTSS 1.3.9, SUSE Manager Server 4.0 2.2.7, SUSE OpenStack Cloud Crowbar 9 1.7.5, openSUSE Leap 15.2 2.2.7. Upgrade SUSE Linux Enterprise Server 11-SP4-LTSS to 1.3.9 or later. Upgrade SUSE Manager Server 4.0 to 2.2.7 or later. Upgrade SUSE OpenStack Cloud Crowbar 9 to 1.7.5 or later. Upgrade openSUSE Leap 15.2 to 2.2.7 or later.
How do I check if I'm affected by CVE-2021-25317?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.