CVE-2021-25317

cups: ownership of /var/log/cups allows the lp user to create files as root

LOW
3.3
CVSS Score
Published: May 5, 2021 at 09:35 AM UTC
Updated: October 8, 2026 at 09:17 PM UTC
7 products affected across 3 vendorsFedoraCupsLeap· also runs on 5 platforms

Using SUSE Linux Enterprise Server 11-SP4-LTSS by SUSE?

Get instant alerts when new vulnerabilities affect SUSE Linux Enterprise Server 11-SP4-LTSS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 2.3.3op2-2.1v < 1.3.9v < 1.7.5v < 2.2.7*
Affected range stops below 1.3.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.7.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.2.7, so it looks safe — our inference, not a vendor statement
opensuse-factory (environment) · opensuse-leap (environment) · suse-linux-enterprise-server (environment) · suse-manager-server (environment) · suse-openstack-cloud-crowbar (environment)
cups ≤ v ≤ 2.3.3op2-2.1-cups
cups ≤ v < 2.2.715.2cups
Affected range stops below 2.2.7, so it looks safe — our inference, not a vendor statement
cups ≤ v < 1.3.911cups
Affected range stops below 1.3.9, so it looks safe — our inference, not a vendor statement
cups ≤ v < 2.2.74.0cups
Affected range stops below 2.2.7, so it looks safe — our inference, not a vendor statement
cups ≤ v < 1.7.59.0cups
Affected range stops below 1.7.5, so it looks safe — our inference, not a vendor statement

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

Affected range stops below 2.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.3.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.7.5, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

3.3LOWsuse
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-276

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card