GHSA-qqc9-m3j8-78ccMediumCVSS 4.4

A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller...

Published
December 1, 2026
Last Modified
December 1, 2026

🔗 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)