New issue
Advanced search Search tips

Issue 916957 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Dec 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug-Security



Sign in to add a comment

CVE-2018-18955 CrOS: Vulnerability reported in Linux kernel

Project Member Reported by vomit.go...@appspot.gserviceaccount.com, Dec 20

Issue description

VOMIT (go/vomit) has received an external vulnerability report for the Linux kernel. 

Advisory: CVE-2018-18955
  Details: http://vomit.googleplex.com/advisory?id=CVE/CVE-2018-18955
  CVSS severity score: 4.4/10.0
  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.



This bug was filed by http://go/vomit
Please contact us at vomit-team@google.com if you need any assistance.

 
Owner: zsm@chromium.org
Status: Assigned (was: Untriaged)
Cc: groeck@chromium.org wonderfly@google.com
Labels: Security_Severity-Medium Security_Impact-None Pri-3
Status: WontFix (was: Assigned)
Upstream commit is
    d2f007dbe7e4 ("userns: also map extents in the reverse map to kernel IDs")

This commit is present in chromeos-4.19. Older kernels(<= v4.14) do not have this commit. The bug was introduced with
    6397fac4915a ("userns: bump idmap limits to 340")

which is also not present in older kernels. Marking as WontFix.
Cc: rkolchmeyer@google.com

Sign in to add a comment