CVE & CISA-KEV Catalog

CVE-2018-7169

MEDIUMEPSS 73th pctl
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
shadowDebian
Fixed in:1:4.7-1CVE-2018-7169
Fixed in:1:4.7-1CVE-2018-7169
Fixed in:1:4.7-1CVE-2018-7169
Fixed in:1:4.7-1CVE-2018-7169
loginUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm1USN-5254-1
Fixed in:1:4.2-3.1ubuntu5.5+esm1USN-5254-1
Fixed in:1:4.5-1ubuntu2.2USN-5254-1
passwdUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm1USN-5254-1
Fixed in:1:4.2-3.1ubuntu5.5+esm1USN-5254-1
Fixed in:1:4.5-1ubuntu2.2USN-5254-1
shadowUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm1USN-5254-1
Fixed in:1:4.2-3.1ubuntu5.5+esm1USN-5254-1
Fixed in:1:4.5-1ubuntu2.2USN-5254-1
uidmapUbuntu
Fixed in:1:4.1.5.1-1ubuntu9.5+esm1USN-5254-1
Fixed in:1:4.2-3.1ubuntu5.5+esm1USN-5254-1
Fixed in:1:4.5-1ubuntu2.2USN-5254-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

1.60%probability of exploitation in 30 days
73rdpercentile

Elevated risk: more likely to be exploited than 73% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-732 (Incorrect Permission Assignment for Critical Resource) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2011-3923Critical9.889%-Fix
CVE-2018-15379Critical9.886%--
CVE-2018-1000207High7.264%--
CVE-2023-32986High8.863%--
CVE-2021-44521Critical9.155%-Fix
CVE-2018-13374Medium4.338%KEV + RansomFix
Embed a live status badge for CVE-2018-7169
CVE-2018-7169 severity badge

Markdown

[![CVE-2018-7169](https://tridentstack.com/cve/badge/CVE-2018-7169.svg)](https://tridentstack.com/cve/CVE-2018-7169)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-7169"><img src="https://tridentstack.com/cve/badge/CVE-2018-7169.svg" alt="CVE-2018-7169"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.