5.3

CVE-2018-7169: shadow_project shadow

CVSS: 5.3v3.0MediumModified
AliasesMGASA-2018-0177SUSE-SU-2018:0662-1UBUNTU-CVE-2018-7169
Published 15-02-2018Last modified 05-08-2024

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.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.0 (NVD)
EPSS score
1.57%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 15-02-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last 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

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

18-09-202618-10-2026
EPSS score
1.57%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.launchpad.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected 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
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
Show all 13 references