CVE-2018-18955

kernel: Privilege escalation in map_write() in kernel/user_namespace.c

Published Nov 16, 2018 CVSS 3.0 · 7.0 High EPSS 7.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-3832-1 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-3833-1 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-3835-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3836-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3836-2 Linux kernel (HWE) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 11:23 AM
Reserved
Nov 5, 2018, 12:00 AM
Status
Modified
Published
Nov 16, 2018, 8:29 PM
Modified
Jun 17, 2026, 1:48 AM
Severity
Important
Public date
Nov 15, 2018, 12:00 AM