CVE-2018-7169
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
9- Range: =4.5
- osv-coords8 versionspkg:rpm/opensuse/shadow&distro=openSUSE%20Tumbleweedpkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/shadow&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3
< 4.9-1.1+ 7 more
- (no CPE)range: < 4.9-1.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
- (no CPE)range: < 4.2.1-27.6.1
Patches
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2- security.gentoo.org/glsa/201805-09mitrevendor-advisoryx_refsource_GENTOO
- bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.