CVE-2021-25317

published 5 May 2021 · updated 8 Oct 2026

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

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.3.9, 2.2.7 and 1.7.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SUSE>=cups <1.3.9, >=cups <2.2.7, >=cups <1.7.51.3.9, 2.2.7, 1.7.5
openSUSE>=cups <=2.3.3op2-2.1, >=cups <2.2.72.2.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25317 severity on Zeptric[![CVE-2021-25317](https://zeptric.io/badge/cve/CVE-2021-25317.svg)](https://zeptric.io/cve/CVE-2021-25317)