CVE-2018-18955 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.15, < 4.19.2 |
CPE
Remediation
| |
| canonical ubuntu linux | 16.04 18.04 18.10 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 24, 2020 | CWE Remap | [email protected] |
| Apr 16, 2019 | CVE Modified | [email protected] |
| Apr 9, 2019 | CVE Modified | [email protected] |
| Dec 19, 2018 | Initial Analysis | [email protected] |
| Dec 4, 2018 | CVE Modified | [email protected] |
| Dec 1, 2018 | CVE Modified | [email protected] |
| Nov 30, 2018 | CVE Modified | [email protected] |
| Nov 18, 2018 | CVE Modified | [email protected] |
| Nov 17, 2018 | CVE Modified | [email protected] |