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

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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

Related Vulnerabilities

Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-22518Critical9.8100%KEV + RansomFix
CVE-2023-38035Critical9.8100%KEV + Ransom-
CVE-2022-46169Critical9.8100%KEVFix
CVE-2024-38856Critical9.899%KEVFix
CVE-2025-29927Critical9.199%-Fix
CVE-2020-36289Medium5.399%-Fix

Common questions

How do I fix CVE-2018-18955?

Published advisories record a fix for 14 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2018-18955 being actively exploited?

Not that we know of. CVE-2018-18955 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 7.6% is the estimated probability that it will be exploited in the next 30 days. That is higher than 94% of all scored CVEs.

How severe is CVE-2018-18955?

CVE-2018-18955 has a CVSS v3 base score of 7.0, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2018-18955 affect?

Published advisories record a fix for linux (Debian), linux (Ubuntu), linux-aws (Ubuntu), linux-gcp (Ubuntu), and 10 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.