{ "CVE_data_meta" : { "ASSIGNER" : "cve@mitre.org", "ID" : "CVE-2018-18955", "STATE" : "PUBLIC" }, "affects" : { "vendor" : { "vendor_data" : [ { "product" : { "product_data" : [ { "product_name" : "n/a", "version" : { "version_data" : [ { "version_value" : "n/a" } ] } } ] }, "vendor_name" : "n/a" } ] } }, "data_format" : "MITRE", "data_type" : "CVE", "data_version" : "4.0", "description" : { "description_data" : [ { "lang" : "eng", "value" : "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." } ] }, "problemtype" : { "problemtype_data" : [ { "description" : [ { "lang" : "eng", "value" : "n/a" } ] } ] }, "references" : { "reference_data" : [ { "name" : "45886", "refsource" : "EXPLOIT-DB", "url" : "https://www.exploit-db.com/exploits/45886/" }, { "name" : "45915", "refsource" : "EXPLOIT-DB", "url" : "https://www.exploit-db.com/exploits/45915/" }, { "name" : "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd", "refsource" : "MISC", "url" : "http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd" }, { "name" : "https://bugs.chromium.org/p/project-zero/issues/detail?id=1712", "refsource" : "MISC", "url" : "https://bugs.chromium.org/p/project-zero/issues/detail?id=1712" }, { "name" : "https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19", "refsource" : "MISC", "url" : "https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19" }, { "name" : "https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.2", "refsource" : "MISC", "url" : "https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.2" }, { "name" : "https://github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd", "refsource" : "MISC", "url" : "https://github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd" }, { "name" : "USN-3832-1", "refsource" : "UBUNTU", "url" : "https://usn.ubuntu.com/3832-1/" }, { "name" : "USN-3833-1", "refsource" : "UBUNTU", "url" : "https://usn.ubuntu.com/3833-1/" }, { "name" : "USN-3835-1", "refsource" : "UBUNTU", "url" : "https://usn.ubuntu.com/3835-1/" }, { "name" : "USN-3836-1", "refsource" : "UBUNTU", "url" : "https://usn.ubuntu.com/3836-1/" }, { "name" : "USN-3836-2", "refsource" : "UBUNTU", "url" : "https://usn.ubuntu.com/3836-2/" }, { "name" : "105941", "refsource" : "BID", "url" : "http://www.securityfocus.com/bid/105941" } ] } }