CVE-2018-7169: shadow_project shadow
Vulnerability summary
CVE-2018-7169 is a medium (CVSS 5.3) vulnerability in shadow_project shadow. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 74.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 15-02-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.57%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.57% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugs.launchpad.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse7 products
- shadow&distro=SUSE Linux Enterprise Desktop 12 SP2< 4.2.1-27.6.1
- shadow&distro=SUSE Linux Enterprise Desktop 12 SP3< 4.2.1-27.6.1
- shadow&distro=SUSE Linux Enterprise Server 12 SP2< 4.2.1-27.6.1
- shadow&distro=SUSE Linux Enterprise Server 12 SP3< 4.2.1-27.6.1
- shadow&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2< 4.2.1-27.6.1
Mageia2 products
- shadow-utils< 4.2.1-6.2.mga5
- shadow-utils< 4.4-1.2.mga6
Debian1 product
- shadow< 1:4.7-1
Opensuse1 product
- shadow&distro=openSUSE Tumbleweed< 4.9-1.1
Shadow_project1 product
- shadow4.5
Ubuntu1 product
- shadow< 1:4.1.5.1-1ubuntu9.5+esm1 | < 1:4.2-3.1ubuntu5.5+esm1 | < 1:4.5-1ubuntu2.2
6 vendors · 13 products
References
13 links- bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357X Refsource MISCExploitIssue TrackingThird Party Advisory