Skip to content
OpenAdvisories
Low · 3.3 CVE-2021-25317 EUVD-2021-12215GHSA-7qpc-9fjw-5c32

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

Published May 5, 2021 · Updated Oct 8, 2026 · Assigned by suse

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 products

VendorProductAffectedFixed
SUSE SUSE Linux Enterprise Server 11-SP4-LTSS cups – < 1.3.9 1.3.9
SUSE SUSE Manager Server 4.0 cups – < 2.2.7 2.2.7
SUSE SUSE OpenStack Cloud Crowbar 9 cups – < 1.7.5 1.7.5
openSUSE openSUSE Leap 15.2 cups – < 2.2.7 2.2.7
openSUSE Factory cups – ≤ 2.3.3op2-2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP2 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLES 15 SP1 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLES 15 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLES 12 SP5 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLES 12 SP4 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLES 12 SP2 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLES 11 SP4 cups 1.3.9-8.46.56.18.1 SUSE-SU-2021:14712-1
SLES for SAP 15 SP1 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLES for SAP 15 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLES for SAP 12 SP5 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLES for SAP 12 SP4 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLES for SAP 12 SP3 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SLE HPC 15 SP1 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SLE HPC 15 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SUSE OpenStack Cloud Crowbar 9 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SUSE OpenStack Cloud Crowbar 8 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SUSE OpenStack Cloud 9 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SUSE OpenStack Cloud 8 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SUSE Manager Server 4.0 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SUSE Manager Retail Branch Server 4.0 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SUSE Manager Proxy 4.0 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
SUSE Linux Enterprise Point of Sale 11 SP3 cups 1.3.9-8.46.56.18.1 SUSE-SU-2021:14712-1
SUSE HPE Helion OpenStack 8 cups 1.7.5-20.36.1 SUSE-SU-2021:1453-1
SUSE Enterprise Storage 6 cups 2.2.7-3.26.1 SUSE-SU-2021:1454-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.3.3op2-4.2 openSUSE-SU-2024:10707-1
openSUSE Leap 15.2 cups 2.2.7-lp152.9.9.1 openSUSE-SU-2021:0638-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 cups +6 1:1.6.3-51.amzn2.0.5 ALAS2-2024-2628

Advisories 7

References