1. CVE archive
  2. 2021
  3. CVE-2021-25317

CVE-2021-25317

3.3 Low severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N 3.3 – Low

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

VendorProductVersionPlatform
fedoraproject fedora 32 –
fedoraproject fedora 33 –
fedoraproject fedora 34 –
suse cups < 1.3.9 –
suse cups < 2.2.7 –
suse cups < 1.7.5 –
suse cups <= 2.3.3op2-2.1 –

Vulnerability type

CWE-276 Incorrect Default Permissions

During installation, installed file permissions are set to allow anyone to modify those files.

Impact on systems

ScopeImpact
Confidentiality, Integrity Read Application Data, Modify Application Data

How to prevent it

Architecture and Design · Operation The architecture needs to access and modification attributes for files to only those users who actually require those actions.
Architecture and Design · Separation of Privilege Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

All 1,560 CWE-276 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org