CVE Database›Document archive›CVE-2018-7169

CVE-2018-7169

shadow-utils: newgidmap allows unprivileged user to drop supplementary groups potentially allowing privilege escalation

Loading…

Severity

Moderate

Red Hat Product Security

4.4

CVSS 3.0

Review impact separately from score.

Published · November 14, 2017

Updated · November 22, 2025

Description

An issue was discovered in newgidmap, in shadow-utils, that allows an unprivileged user to be placed in a user namespace where setgroups is permitted. An attacker could use this flaw to remove himself 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.

Statement

This issue did not affect the versions of shadow-utils as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not provide newgidmap program.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 4.4
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CWE-271 · Privilege Dropping / Lowering Errors