CVE & CISA-KEV Catalog

CVE-2018-18955

HIGHEPSS 94th pctl
7.0
CVSS v3
NVD

Description

In the Linux kernel 4.15.x through 4.19.x before 4.19.2, map_write() in kernel/user_namespace.c allows privilege escalation because it mishandles nested user namespaces with more than 5 UID or GID ranges. A user who has CAP_SYS_ADMIN in an affected user namespace can bypass access controls on resources outside the namespace, as demonstrated by reading /etc/shadow. This occurs because an ID transformation takes place properly for the namespaced-to-kernel direction but not for the kernel-to-namespaced direction.

How to fix

Remediation Available
linuxDebian
Fixed in:4.18.20-1CVE-2018-18955
Fixed in:4.18.20-1CVE-2018-18955
Fixed in:4.18.20-1CVE-2018-18955
Fixed in:4.18.20-1CVE-2018-18955
linuxUbuntu
Fixed in:4.15.0-42.45USN-3836-1
linux-awsUbuntu
Fixed in:4.15.0-1029.30USN-3833-1
linux-gcpUbuntu
Fixed in:4.15.0-1025.26~16.04.1USN-3836-2
Fixed in:4.15.0-1025.26USN-3836-1
linux-hweUbuntu
Fixed in:4.15.0-42.45~16.04.1USN-3836-2
linux-image-4.15.0-1027-kvmUbuntu
Fixed in:4.15.0-1027.27USN-3836-1
linux-image-4.15.0-1029-awsUbuntu
Fixed in:4.15.0-1029.30USN-3833-1
linux-image-4.15.0-1029-raspi2Ubuntu
Fixed in:4.15.0-1029.31USN-3836-1
linux-image-4.15.0-42-genericUbuntu
Fixed in:4.15.0-42.45~16.04.1USN-3836-2
Fixed in:4.15.0-42.45USN-3836-1
linux-image-4.15.0-42-generic-lpaeUbuntu
Fixed in:4.15.0-42.45~16.04.1USN-3836-2
Fixed in:4.15.0-42.45USN-3836-1
linux-image-4.15.0-42-lowlatencyUbuntu
Fixed in:4.15.0-42.45~16.04.1USN-3836-2
Fixed in:4.15.0-42.45USN-3836-1
linux-image-4.15.0-42-snapdragonUbuntu
Fixed in:4.15.0-42.45USN-3836-1
linux-kvmUbuntu
Fixed in:4.15.0-1027.27USN-3836-1
linux-raspi2Ubuntu
Fixed in:4.15.0-1029.31USN-3836-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 VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

7.61%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Embed a live status badge for CVE-2018-18955
CVE-2018-18955 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2018-18955"><img src="https://tridentstack.com/cve/badge/CVE-2018-18955.svg" alt="CVE-2018-18955"></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.