cups: ownership of /var/log/cups allows the lp user to create files as root
Summary
| CVE | CVE-2021-25317 |
|---|---|
| State | PUBLISHED |
| Assigner | suse |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-05 10:15:08 UTC |
| Updated | 2026-10-08 21:17:34 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | [email protected] | Secondary | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 2.0 | [email protected] | Primary | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:L/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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)