# CVE-2021-25317: cups: ownership of /var/log/cups allows the lp user to create files as root

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-276
- **Published:** 2021-05-05T09:35:13.321Z
- **Modified:** 2026-10-08T21:17:34.440Z

## 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

## 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

- 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://bugzilla.suse.com/show_bug.cgi?id=1184161>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H74BP746O5NNVCBUTLLZYAFBPESFVECV/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S37IDQGHTORQ3Z6VRDQIGBYVOI27YG47/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GWPGZLT3U776Q5YPPSA6LGFWWBDWBVH3/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-25317>

HTML: <https://flawdb.com/CVE-2021-25317> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-25317>
