
CVE catalog
CVE-2018-7169
shadow: CVE-2018-7169
- Severity
- Medium · CVSS 6.5
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.57% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shadow | sid | 1:4.20.3-1 | fixed |
| Debian | shadow | forky | 1:4.20.3-1 | fixed |
| Debian | shadow | trixie | 1:4.17.4-2 | fixed |
| Debian | shadow | bookworm | 1:4.13+dfsg1-1+deb12u2 | fixed |
| Ubuntu | shadow | pro | 1:4.1.5.1-1.1ubuntu7 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu1 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu3 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu5 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu5.2 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu5.3 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu5.4 | vulnerable |
| Ubuntu | shadow | pro | 1:4.2-3.1ubuntu5.5+esm1 | fixed |
| Ubuntu | shadow | 18.04 | 1:4.2-3.2ubuntu4 | vulnerable |
| Ubuntu | shadow | 18.04 | 1:4.5-1ubuntu1 | vulnerable |
| Ubuntu | shadow | 18.04 | 1:4.5-1ubuntu2 | vulnerable |
| Ubuntu | shadow | 18.04 | 1:4.5-1ubuntu2.2 | fixed |
| Opensuse | shadow | tumbleweed | 4.9-1.1 | fixed |
| Suse | shadow | linux enterprise desktop 12 sp2 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise desktop 12 sp3 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise server for raspberry pi 12 sp2 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise server 12 sp2 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 12 sp2 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise server 12 sp3 | 4.2.1-27.6.1 | fixed |
| Suse | shadow | linux enterprise server for sap applications 12 sp3 | 4.2.1-27.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shadow | source | sid | 1:4.7-1 | low | Not reported | [890557] |
| Debian | shadow | source | forky | 1:4.7-1 | low | Not reported | [890557] |
| Debian | shadow | source | trixie | 1:4.7-1 | low | Not reported | [890557] |
| Debian | shadow | source | bookworm | 1:4.7-1 | low | Not reported | [890557] |
| Ubuntu | shadow | deb | pro | 1:4.2-3.1ubuntu5.5+esm1 | Not reported | UBUNTU-CVE-2018-7169 | Not reported |
| Ubuntu | shadow | deb | 18.04 | 1:4.5-1ubuntu2.2 | Not reported | UBUNTU-CVE-2018-7169 | Not reported |
| Opensuse | shadow | rpm | tumbleweed | 4.9-1.1 | Not reported | OPENSUSE-SU-2024:11378-1 | Not reported |
| Suse | shadow | rpm | linux enterprise desktop 12 sp2 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise desktop 12 sp3 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for raspberry pi 12 sp2 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 12 sp2 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 12 sp2 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server 12 sp3 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
| Suse | shadow | rpm | linux enterprise server for sap applications 12 sp3 | 4.2.1-27.6.1 | Not reported | SUSE-SU-2018:0662-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libsubid6]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.9-1.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [libsubid-devel]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.9-1.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [login_defs]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· noarch · tumbleweedUnknown · Fixed:
4.9-1.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [shadow-pw-mgmt]Unknown
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedUnknown · Fixed:
4.9-1.1Version impact unknown
dsa · shadow · opensuse · tumbleweed
- [shadow]Fixed
Source package: [shadow]
Details (1)
4.20.2-2.1· x86_64 · tumbleweedFixed · Fixed:
4.9-1.1dsa · shadow · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libsubid4]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [login]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.7-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
[Debian 13 (Trixie)]
- [libsubid5]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
- [login.defs]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.7-1dsa · shadow · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_0662-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-7169]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0662-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-7169]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11378-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-7169]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]