# CVE-2018-7169

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-02-15 · Modified: 2024-08-05
- Aliases: MGASA-2018-0177, SUSE-SU-2018:0662-1, UBUNTU-CVE-2018-7169, DEBIAN-CVE-2018-7169, openSUSE-SU-2024:11378-1
- Record: https://cvemate.com/vulnerability/CVE-2018-7169 · JSON: https://cvemate.com/vulnerability/CVE-2018-7169/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.566%, percentile 76.165%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian shadow (Debian): \< 1:4.7-1
- ubuntu shadow (Ubuntu): \< 1:4.1.5.1-1ubuntu9.5+esm1 \| \< 1:4.2-3.1ubuntu5.5+esm1 \| \< 1:4.5-1ubuntu2.2
- mageia shadow-utils (Mageia): \< 4.2.1-6.2.mga5
- mageia shadow-utils (Mageia): \< 4.4-1.2.mga6
- opensuse shadow&distro=openSUSE Tumbleweed (openSUSE): \< 4.9-1.1
- suse shadow&distro=SUSE Linux Enterprise Desktop 12 SP2 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Desktop 12 SP3 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Server 12 SP2 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Server 12 SP3 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- suse shadow&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3 (SUSE Linux Enterprise): \< 4.2.1-27.6.1
- shadow\_project shadow: 4.5

## References

- <https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357>
- <https://security.gentoo.org/glsa/201805-09>
- <https://advisories.mageia.org/MGASA-2018-0177.html>
- <https://bugs.mageia.org/show_bug.cgi?id=22766>
- <https://lists.opensuse.org/opensuse-updates/2018-03/msg00036.html>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20180662-1/>
- <https://bugzilla.suse.com/1081294>
- <https://www.suse.com/security/cve/CVE-2018-7169>
- <https://ubuntu.com/security/CVE-2018-7169>
- <https://github.com/shadow-maint/shadow/pull/97>
- <https://ubuntu.com/security/notices/USN-5254-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-7169>
- <https://security-tracker.debian.org/tracker/CVE-2018-7169>

---

Data as of 2026-12-05T03:34:27.047Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
