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

Summary

CVECVE-2021-25317
StatePUBLISHED
Assignersuse
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-05 10:15:08 UTC
Updated2026-10-08 21:17:34 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 3.3 LOW from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Problem Types: CWE-276 | CWE-276 CWE-276: Incorrect Default Permissions


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
3.1[email protected]Secondary3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
3.1CNADECLARED3.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
2.0[email protected]Primary2.1AV:L/AC:L/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:L/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Suse Cups All All All All
Operating System Suse Linux Enterprise Server 11 sp4 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA SUSE SUSE Linux Enterprise Server 11-SP4-LTSS affected cups 1.3.9 custom Not specified
CNA SUSE SUSE Manager Server 4.0 affected cups 2.2.7 custom Not specified
CNA SUSE SUSE OpenStack Cloud Crowbar 9 affected cups 1.7.5 custom Not specified
CNA OpenSUSE OpenSUSE Leap 15.2 affected cups 2.2.7 custom Not specified
CNA OpenSUSE Factory affected cups 2.3.3op2-2.1 custom Not specified

References

ReferenceSourceLinkTags
Bug 1184161 – VUL-0: CVE-2021-25317: cups: ownership of /var/log/cups could allow privilege escalation from lp user to root via symlink attacks af854a3a-2127-422b-91ae-364da2661108 bugzilla.suse.com Issue Tracking, Vendor Advisory
[SECURITY] Fedora 33 Update: cups-2.3.3op2-5.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 34 Update: cups-2.3.3op2-5.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: cups-2.3.3op2-5.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 33 Update: cups-2.3.3op2-5.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: cups-2.3.3op2-5.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: cups-2.3.3op2-5.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Matthias Gerstner of SUSE (en)

Legacy QID Mappings

  • 174968 SUSE Enterprise Linux Security Update for cups (SUSE-SU-2021:1453-1)
  • 174969 SUSE Enterprise Linux Security Update for cups (SUSE-SU-2021:1454-1)
  • 281230 Fedora Security Update for cups (FEDORA-2021-be95e017e7)
  • 281231 Fedora Security Update for cups (FEDORA-2021-7b698513d5)
  • 281232 Fedora Security Update for cups (FEDORA-2021-dc578ce534)
  • 670480 EulerOS Security Update for cups (EulerOS-SA-2021-2238)
  • 670506 EulerOS Security Update for cups (EulerOS-SA-2021-2264)
  • 670531 EulerOS Security Update for cups (EulerOS-SA-2021-2289)
  • 670566 EulerOS Security Update for cups (EulerOS-SA-2021-2324)
  • 670605 EulerOS Security Update for cups (EulerOS-SA-2021-2363)
  • 750244 OpenSUSE Security Update for cups (openSUSE-SU-2021:0638-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report