Security Features Affecting shadow-maint/shadow package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (36th 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 IDSNYK-UNMANAGED-SHADOWMAINTSHADOW-2365862
  • published26 Jan 2022
  • disclosed15 Feb 2018
  • creditUnknown

Introduced: 15 Feb 2018

CVE-2018-7169  (opens in a new tab)
CWE-254  (opens in a new tab)

How to fix?

There is no fixed version for shadow-maint/shadow.

Overview

Affected versions of this package are vulnerable to Security Features. An issue was discovered in shadow 4.5. newgidmap (in shadow-utils) is setuid and allows an unprivileged user to be placed in a user namespace where setgroups(2) is permitted. This allows an attacker to remove themselves from a supplementary group, which may allow access to certain filesystem paths if the administrator has used "group blacklisting" (e.g., chmod g-rwx) to restrict access to paths. This flaw effectively reverts a security feature in the kernel (in particular, the /proc/self/setgroups knob) to prevent this sort of privilege escalation.

References

CVSS Scores

version 3.1