Improper Privilege Management Affecting kernel-obs-build package, versions <4.12.14-197.102.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES151-KERNELOBSBUILD-2652851
  • published14 Apr 2022
  • disclosed2 Dec 2021

Introduced: 2 Dec 2021

CVE-2018-13405  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 kernel-obs-build to version 4.12.14-197.102.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-obs-build package and not the kernel-obs-build package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.

References

CVSS Scores

version 3.1