CVEfocus › CVE database › CVE-2021-25317

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

CVSS 3.3 LowEPSS 0.3% (higher than 19% of CVEs)Published 2021-05-05Updated 2026-10-08Assigner: suse

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.

CWE-276

What to do

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fix pending
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04cupsFix pending
Ubuntu 14.04cupsFix pending
Red Hat Enterprise Linux 9cupsFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 9cups-printerappFix pending
Fix deferred
Red Hat Enterprise Linux 8cupsFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 7cupsFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-clientFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-develFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-filesystemFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-ipptoolFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7cups-lpdFix pending
Fix deferred
Red Hat Enterprise Linux 6cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-lpdWill not fix
Out of support scope
Red Hat Enterprise Linux 6cups-phpWill not fix
Out of support scope

What the vendor says

As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.