VDB
CVE-2018-7169
CVE-2018-7169
PUBLISHED
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.
EPSS 0.16% · 37.1th percentile
Risk Scores
EPSS Score
0.16%
37.1th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | shadow | 0, 1:4.1.5.1-1ubuntu6, 1:4.1.5.1-1ubuntu7 |
| Ubuntu:18.04:LTS | shadow | 0, 1:4.5-1ubuntu1, 1:4.5-1ubuntu2 |
| Ubuntu:Pro:16.04:LTS | shadow | 1:4.1.5.1-1.1ubuntu7, *, 1:4.2-3.1ubuntu2 |
Exploit Intelligence
- https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357 (nist-nvd)
- GLSA-201805-09 (circl)
Timeline
- Feb 15, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-7169 third-party-advisory
- https://github.com/shadow-maint/shadow/pull/97 third-party-advisory
- https://ubuntu.com/security/notices/USN-5254-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-7169 third-party-advisory