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.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade shadow | Jul 30, 2024 | Feb 15, 2018 |
| Gentoo Linux | — | Upgrade sys-apps/shadow. | May 23, 2018 | Feb 15, 2018 |
| Suse | — | Upgrade shadowUpgrade login_defs | Mar 15, 2018 | Feb 15, 2018 |
| Ubuntu | — | Upgrade passwd (Ubuntu Pro)Upgrade uidmap (Ubuntu Pro)Upgrade login (Ubuntu Pro)Upgrade loginUpgrade passwdUpgrade uidmap | Jan 28, 2022 | Feb 15, 2018 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 15, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub