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

Published May 5, 2021
·
Updated

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 Software

22 affected components
SUSE cups<1.3.9
SUSE Linux Enterprise Server=11-sp4
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34
SUSE cups<2.2.7
SUSE Manager Server=4.0
SUSE cups<1.7.5
SUSE OpenStack Cloud Crowbar=9.0
openSUSE Leap=15.2
SUSE cups<=2.3.3op2-2.1
openSUSE Factory
All of the following
SUSE cups<1.3.9
SUSE Linux Enterprise Server=11-sp4
All of the following
SUSE cups<2.2.7
SUSE Manager Server=4.0
All of the following
SUSE cups<1.7.5
SUSE OpenStack Cloud Crowbar=9.0
All of the following
SUSE cups<2.2.7
openSUSE Leap=15.2
All of the following
SUSE cups<=2.3.3op2-2.1
openSUSE Factory

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SUSE Manager Server 4.0 cups to a version that resolves this vulnerability.

    Fixed in 2.2.7
  2. Upgrade

    Upgrade SUSE OpenStack Cloud Crowbar 9 cups to a version that resolves this vulnerability.

    Fixed in 1.7.5
  3. Upgrade

    Upgrade SUSE Linux Enterprise Server 11-SP4-LTSS cups to a version that resolves this vulnerability.

    Fixed in 1.3.9
  4. Upgrade

    Upgrade openSUSE Leap 15.2 cups to a version that resolves this vulnerability.

    Fixed in 2.2.7

Event History

May 5, 2021
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-25317?

CVE-2021-25317 is an 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.

2

What is the severity of CVE-2021-25317?

CVE-2021-25317 has a severity level of 3.3 (low).

3

How can the local attackers exploit CVE-2021-25317?

Local attackers with control of the lp users can exploit CVE-2021-25317 to create files as root with 0644 permissions.

4

Which software versions are affected by CVE-2021-25317?

Suse Cups versions up to 1.3.9, Suse Cups versions up to 2.2.7, Suse Cups versions up to 1.7.5, Suse Cups versions up to 2.3.3op2-2.1 are affected by CVE-2021-25317.

5

Are there any known fixes for CVE-2021-25317?

There is no known fix for CVE-2021-25317 at the moment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203