GHSA-qqc9-m3j8-78ccMediumCVSS 4.4
A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller...
🔗 CVE IDs covered (1)
📋 Description
A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller-supplied file descriptor refers to a directory on the /proc filesystem by comparing device numbers, then open a file by name relative to that directory to write privileged group/user ID mapping data. A local, unprivileged user can use Linux user and mount namespaces to bind-mount an attacker-chosen file over the expected path, defeating the device-number check and causing the helper to overwrite the first five bytes of the attacker-chosen file with fixed content.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-135901
- https://access.redhat.com/security/cve/CVE-2026-135901
- https://bugzilla.redhat.com/show_bug.cgi?id=2583156
- https://github.com/shadow-maint/shadow/releases/tag/4.20.4
- http://www.openwall.com/lists/oss-security/2026/11/24/16
- http://www.openwall.com/lists/oss-security/2026/11/24/19
- http://www.openwall.com/lists/oss-security/2026/11/25/4
- https://github.com/advisories/GHSA-qqc9-m3j8-78cc