2018-11-16 21:29:00 2019-04-16 08:29:03

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.

Vector

LOCAL

Complexity

MEDIUM

Authentication

NONE

Confidentiality

PARTIAL

Integrity

PARTIAL

Availability

PARTIAL
Linux Linux kernel 4.19 Rc6 (not an official CPE) Linux Linux kernel 4.19 Rc5 (not an official CPE) Linux Linux kernel 4.19 Rc4 (not an official CPE) Linux Linux kernel 4.19 Rc3 (not an official CPE) Linux Linux kernel 4.19 Rc2 (not an official CPE) Linux Linux kernel 4.19 Rc1 (not an official CPE) Linux Linux kernel 4.19 (not an official CPE) Linux Linux kernel 4.18.19 (not an official CPE) Linux Linux kernel 4.18.16 (not an official CPE) Linux Linux kernel 4.18.15 (not an official CPE) Linux Linux kernel 4.18.14 (not an official CPE) Linux Linux kernel 4.18.13 (not an official CPE) Linux Linux kernel 4.18.12 (not an official CPE) Linux Linux kernel 4.18.11 (not an official CPE) Linux Linux kernel 4.18.10 (not an official CPE) Linux Linux kernel 4.18.9 (not an official CPE) Linux Linux kernel 4.18.8 (not an official CPE) Linux Linux kernel 4.18.7 (not an official CPE) Linux Linux kernel 4.18.6 (not an official CPE) Linux Linux kernel 4.18.5 (not an official CPE) Linux Linux kernel 4.18.4 (not an official CPE) Linux Linux kernel 4.18.3 (not an official CPE) Linux Linux kernel 4.18.2 (not an official CPE) Linux Linux kernel 4.18.1 (not an official CPE) Linux Linux kernel 4.18 Rc8 (not an official CPE) Linux Linux kernel 4.18 Rc7 (not an official CPE) Linux Linux kernel 4.18 Rc6 (not an official CPE) Linux Linux kernel 4.18 Rc5 (not an official CPE) Linux Linux kernel 4.18 Rc4 (not an official CPE) Linux Linux kernel 4.18 Rc3 (not an official CPE) Linux Linux kernel 4.18 Rc2 (not an official CPE) Linux Linux kernel 4.18 Rc1 (not an official CPE) Linux Linux kernel 4.18 (not an official CPE) Linux Linux kernel 4.17.9 (not an official CPE) Linux Linux kernel 4.17.8 (not an official CPE) Linux Linux kernel 4.17.7 (not an official CPE) Linux Linux kernel 4.17.6 (not an official CPE) Linux Linux kernel 4.17.5 (not an official CPE) Linux Linux kernel 4.17.4 (not an official CPE) Linux Linux kernel 4.17.3 (not an official CPE) Linux Linux kernel 4.17.2 (not an official CPE) Linux Linux kernel 4.17.1 (not an official CPE) Linux Linux kernel 4.17 Rc7 (not an official CPE) Linux Linux kernel 4.17 Rc6 (not an official CPE) Linux Linux kernel 4.17 Rc5 (not an official CPE) Linux Linux kernel 4.17 Rc4 (not an official CPE) Linux Linux kernel 4.17 Rc3 (not an official CPE) Linux Linux kernel 4.17 Rc2 (not an official CPE) Linux Linux kernel 4.17 Rc1 (not an official CPE) Linux Linux kernel 4.17 (not an official CPE) Linux Linux kernel 4.16.18 (not an official CPE) Linux Linux kernel 4.16.17 (not an official CPE) Linux Linux kernel 4.16.16 (not an official CPE) Linux Linux kernel 4.16.15 (not an official CPE) Linux Linux kernel 4.16.14 (not an official CPE) Linux Linux kernel 4.16.13 (not an official CPE) Linux Linux kernel 4.16.12 (not an official CPE) Linux Linux kernel 4.16.11 (not an official CPE) Linux Linux kernel 4.16.10 (not an official CPE) Linux Linux kernel 4.16.9 (not an official CPE) Linux Linux kernel 4.16.8 (not an official CPE) Linux Linux kernel 4.16.7 (not an official CPE) Linux Linux kernel 4.16.6 (not an official CPE) Linux Linux kernel 4.16.5 (not an official CPE) Linux Linux kernel 4.16.4 (not an official CPE) Linux Linux kernel 4.16.3 (not an official CPE) Linux Linux kernel 4.16.2 (not an official CPE) Linux Linux kernel 4.16.1 (not an official CPE) Linux Linux kernel 4.16 Rc7 (not an official CPE) Linux Linux kernel 4.16 Rc6 (not an official CPE) Linux Linux kernel 4.16 Rc5 (not an official CPE) Linux Linux kernel 4.16 Rc4 (not an official CPE) Linux Linux kernel 4.16 Rc3 (not an official CPE) Linux Linux kernel 4.16 Rc2 (not an official CPE) Linux Linux kernel 4.16 Rc1 (not an official CPE) Linux Linux kernel 4.16 Rc (not an official CPE) Linux Linux kernel 4.16 (not an official CPE) Linux Linux kernel 4.15.18 (not an official CPE) Linux Linux kernel 4.15.17 (not an official CPE) Linux Linux kernel 4.15.16 (not an official CPE) Linux Linux kernel 4.15.15 (not an official CPE) Linux Linux kernel 4.15.14 (not an official CPE) Linux Linux kernel 4.15.13 (not an official CPE) Linux Linux kernel 4.15.12 (not an official CPE) Linux Linux kernel 4.15.11 (not an official CPE) Linux Linux kernel 4.15.10 (not an official CPE) Linux Linux kernel 4.15.9 (not an official CPE) Linux Linux kernel 4.15.8 (not an official CPE) Linux Linux kernel 4.15.7 (not an official CPE) Linux Linux kernel 4.15.6 (not an official CPE) Linux Linux kernel 4.15.5 (not an official CPE) Linux Linux kernel 4.15.4 (not an official CPE) Linux Linux kernel 4.15.3 (not an official CPE) Linux Linux kernel 4.15.2 (not an official CPE) Linux Linux kernel 4.15.1 (not an official CPE) Linux Linux kernel 4.15 Rc4 (not an official CPE) Linux Linux kernel 4.15 Rc3 (not an official CPE) Linux Linux kernel 4.15 Rc2 (not an official CPE) Linux Linux kernel 4.15 Rc1 (not an official CPE) Linux Linux kernel 4.15 (not an official CPE) Canonical Ubuntu linux 18.10 (not an official CPE) Canonical Ubuntu linux 18.04 ~~lts~~~ (not an official CPE) Canonical Ubuntu linux 16.04 ~~lts~~~ (not an official CPE) Linux Linux kernel 4.19 Rc7 (not an official CPE) Linux Linux kernel 4.19 Rc8 (not an official CPE) Linux Linux kernel 4.19.1 (not an official CPE)

Improper Input Validation (ID 20)

Related CAPEC 58 Buffer Overflow via Environment Variables (CAPEC-ID 10) Server Side Include (SSI) Injection (CAPEC-ID 101) Cross Zone Scripting (CAPEC-ID 104) Cross Site Scripting through Log Files (CAPEC-ID 106) Command Line Execution through SQL Injection (CAPEC-ID 108) Object Relational Mapping Injection (CAPEC-ID 109) SQL Injection through SOAP Parameter Tampering (CAPEC-ID 110) Subverting Environment Variable Values (CAPEC-ID 13) Format String Injection (CAPEC-ID 135) LDAP Injection (CAPEC-ID 136) Relative Path Traversal (CAPEC-ID 139) Client-side Injection-induced Buffer Overflow (CAPEC-ID 14) Variable Manipulation (CAPEC-ID 171) Embedding Scripts in Non-Script Elements (CAPEC-ID 18) Flash Injection (CAPEC-ID 182) Cross-Site Scripting Using Alternate Syntax (CAPEC-ID 199) Exploiting Trust in Client (aka Make the Client Invisible) (CAPEC-ID 22) XML Nested Payloads (CAPEC-ID 230) XML Oversized Payloads (CAPEC-ID 231) Filter Failure through Buffer Overflow (CAPEC-ID 24) Cross-Site Scripting via Encoded URI Schemes (CAPEC-ID 244) XML Injection (CAPEC-ID 250) Environment Variable Manipulation (CAPEC-ID 264) Global variable manipulation (CAPEC-ID 265) Leverage Alternate Encoding (CAPEC-ID 267) Fuzzing (CAPEC-ID 28) Using Leading 'Ghost' Character Sequences to Bypass Input Filters (CAPEC-ID 3) Accessing/Intercepting/Modifying HTTP Cookies (CAPEC-ID 31) Embedding Scripts in HTTP Query Strings (CAPEC-ID 32) MIME Conversion (CAPEC-ID 42) Exploiting Multiple Input Interpretation Layers (CAPEC-ID 43) Buffer Overflow via Symbolic Links (CAPEC-ID 45) Overflow Variables and Tags (CAPEC-ID 46) Buffer Overflow via Parameter Expansion (CAPEC-ID 47) Signature Spoof (CAPEC-ID 473) XML Client-Side Attack (CAPEC-ID 484) Embedding NULL Bytes (CAPEC-ID 52) Postfix, Null Terminate, and Backslash (CAPEC-ID 53) Simple Script Injection (CAPEC-ID 63) Using Slashes and URL Encoding Combined to Bypass Validation Logic (CAPEC-ID 64) SQL Injection (CAPEC-ID 66) String Format Overflow in syslog() (CAPEC-ID 67) Blind SQL Injection (CAPEC-ID 7) Using Unicode Encoding to Bypass Validation Logic (CAPEC-ID 71) URL Encoding (CAPEC-ID 72) User-Controlled Filename (CAPEC-ID 73) Using Escaped Slashes in Alternate Encoding (CAPEC-ID 78) Using Slashes in Alternate Encoding (CAPEC-ID 79) Buffer Overflow in an API Call (CAPEC-ID 8) Using UTF-8 Encoding to Bypass Validation Logic (CAPEC-ID 80) Web Logs Tampering (CAPEC-ID 81) XPath Injection (CAPEC-ID 83) AJAX Fingerprinting (CAPEC-ID 85) Embedding Script (XSS) in HTTP Headers (CAPEC-ID 86) OS Command Injection (CAPEC-ID 88) Buffer Overflow in Local Command-Line Utilities (CAPEC-ID 9) XSS in IMG Tags (CAPEC-ID 91) XML Parser Attack (CAPEC-ID 99)