U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2018-18955 Detail

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

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd Patch  Vendor Advisory 
http://www.securityfocus.com/bid/105941 Third Party Advisory  VDB Entry 
https://bugs.chromium.org/p/project-zero/issues/detail?id=1712 Patch  Third Party Advisory 
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19 Patch  Vendor Advisory 
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.2 Patch  Vendor Advisory 
https://github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd Patch  Vendor Advisory 
https://security.netapp.com/advisory/ntap-20190416-0003/
https://support.f5.com/csp/article/K39103040
https://usn.ubuntu.com/3832-1/ Third Party Advisory 
https://usn.ubuntu.com/3833-1/ Third Party Advisory 
https://usn.ubuntu.com/3835-1/ Third Party Advisory 
https://usn.ubuntu.com/3836-1/ Third Party Advisory 
https://usn.ubuntu.com/3836-2/ Third Party Advisory 
https://www.exploit-db.com/exploits/45886/ Exploit  Patch  Third Party Advisory  VDB Entry 
https://www.exploit-db.com/exploits/45915/ Exploit  Third Party Advisory  VDB Entry 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-863 Incorrect Authorization cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

10 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-18955
NVD Published Date:
11/16/2018
NVD Last Modified:
08/24/2020
Source:
MITRE