CWE
732
Advisory Published
Updated

CVE-2018-7169

First published: Thu Feb 15 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Shadow Project=4.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-7169?

    CVE-2018-7169 has a medium severity rating due to its potential to grant unauthorized access to filesystem paths.

  • How do I fix CVE-2018-7169?

    To fix CVE-2018-7169, update the shadow package to version 4.5 or later, which addresses the vulnerability.

  • Who is affected by CVE-2018-7169?

    CVE-2018-7169 affects systems running the shadow package version 4.5.

  • What is the impact of CVE-2018-7169 on systems?

    The impact of CVE-2018-7169 allows an unprivileged user to remove themselves from a supplementary group, potentially leading to unauthorized access.

  • Is CVE-2018-7169 easy to exploit?

    CVE-2018-7169 can be exploited by users with minimal privileges, making it a relatively low-barrier attack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203