{"id":"CVE-2018-18955","aliases":["DEBIAN-CVE-2018-18955","UBUNTU-CVE-2018-18955"],"summary":"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...","published_at":"2018-11-15T00:00:00Z","modified_at":"2026-10-23T18:03:03.139694Z","products":[{"slug":"linux-kernel","name":"Linux Kernel","category":"linux"}],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":true,"exploits":[{"source":"exploit-db","id":"EDB-45886","name":"Linux - Broken uid/gid Mapping for Nested User Namespaces","url":"https://www.exploit-db.com/exploits/45886","published":"2018-11-16","verified":true},{"source":"exploit-db","id":"EDB-45915","name":"Linux - Nested User Namespace idmap Limit Local Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/45915","published":"2018-11-29","verified":true},{"source":"exploit-db","id":"EDB-47164","name":"Linux Kernel 4.15.x < 4.19.2 - 'map_write() CAP_SYS_ADMIN' Local Privilege Escalation (cron Method)","url":"https://www.exploit-db.com/exploits/47164","published":"2018-11-21","verified":false},{"source":"exploit-db","id":"EDB-47165","name":"Linux Kernel 4.15.x < 4.19.2 - 'map_write() CAP_SYS_ADMIN' Local Privilege Escalation (dbus Method)","url":"https://www.exploit-db.com/exploits/47165","published":"2019-01-04","verified":false},{"source":"exploit-db","id":"EDB-47166","name":"Linux Kernel 4.15.x < 4.19.2 - 'map_write() CAP_SYS_ADMIN' Local Privilege Escalation (ldpreload Method)","url":"https://www.exploit-db.com/exploits/47166","published":"2018-11-21","verified":false},{"source":"exploit-db","id":"EDB-47167","name":"Linux Kernel 4.15.x < 4.19.2 - 'map_write() CAP_SYS_ADMIN' Local Privilege Escalation (polkit Method)","url":"https://www.exploit-db.com/exploits/47167","published":"2019-01-04","verified":false},{"source":"metasploit","id":"exploit/linux/local/nested_namespace_idmap_limit_priv_esc","name":"Linux Nested User Namespace idmap Limit Local Privilege Escalation","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/nested_namespace_idmap_limit_priv_esc.rb","published":"2018-11-15","verified":false}],"epss":{"score":0.07672999799251556,"percentile":0.9470999836921692,"date":"2026-11-19T00:00:00Z"},"priority":8.3,"details":"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.","affected_stack":[{"ecosystem":"Debian:12","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"},{"ecosystem":"Debian:13","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"},{"ecosystem":"Debian:14","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux","purl":"pkg:deb/ubuntu/linux@4.15.0-42.45?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45"}]}],"versions":["4.13.0-16.19","4.13.0-17.20","4.13.0-25.29","4.13.0-32.35","4.15.0-10.11","4.15.0-12.13","4.15.0-13.14","4.15.0-15.16","4.15.0-19.20","4.15.0-20.21","4.15.0-22.24","4.15.0-23.25","4.15.0-24.26","4.15.0-29.31","4.15.0-30.32","4.15.0-32.35","4.15.0-33.36","4.15.0-34.37","4.15.0-36.39","4.15.0-38.41","4.15.0-39.42"],"fixed":["4.15.0-42.45"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux","purl":"pkg:deb/ubuntu/linux@4.15.0-42.45?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45"}]}],"versions":["4.13.0-16.19","4.13.0-17.20","4.13.0-25.29","4.13.0-32.35","4.15.0-10.11","4.15.0-12.13","4.15.0-13.14","4.15.0-15.16","4.15.0-19.20","4.15.0-20.21","4.15.0-22.24","4.15.0-23.25","4.15.0-24.26","4.15.0-29.31","4.15.0-30.32","4.15.0-32.35","4.15.0-33.36","4.15.0-34.37","4.15.0-36.39","4.15.0-38.41","4.15.0-39.42"],"fixed":["4.15.0-42.45"],"provider":"osv","source":"USN-3836-1","relation":"upstream"}],"affected_other":[{"ecosystem":"NVD","package":"canonical:ubuntu_linux","versions":["16.04","18.04","18.10"],"provider":"nvd","source":"CVE-2018-18955","relation":"self"},{"ecosystem":"NVD","package":"linux:linux_kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15"},{"fixed":"4.19.2"}]}],"fixed":["4.19.2"],"provider":"nvd","source":"CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:14.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36~14.04.2?arch=source&distro=trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36~14.04.2"}]}],"versions":["4.15.0-1023.24~14.04.1","4.15.0-1030.31~14.04.1","4.15.0-1031.32~14.04.1","4.15.0-1032.33~14.04.2"],"fixed":["4.15.0-1035.36~14.04.2"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36~16.04.1"}]}],"versions":["4.11.0-1009.9","4.11.0-1011.11","4.11.0-1013.13","4.11.0-1014.14","4.11.0-1015.15","4.11.0-1016.16","4.13.0-1005.7","4.13.0-1006.8","4.13.0-1007.9","4.13.0-1009.12","4.13.0-1011.14","4.13.0-1012.15","4.13.0-1014.17","4.13.0-1016.19","4.13.0-1018.21","4.15.0-1013.13~16.04.2","4.15.0-1014.14~16.04.1","4.15.0-1018.18~16.04.1","4.15.0-1019.19~16.04.1","4.15.0-1021.21~16.04.1","4.15.0-1022.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1025.26~16.04.1","4.15.0-1028.29~16.04.1","4.15.0-1030.31~16.04.1","4.15.0-1031.32~16.04.1","4.15.0-1032.33~16.04.1"],"fixed":["4.15.0-1035.36~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26~16.04.1"}]}],"versions":["4.10.0-1004.4","4.10.0-1006.6","4.10.0-1007.7","4.10.0-1008.8","4.10.0-1009.9","4.13.0-1002.5","4.13.0-1006.9","4.13.0-1007.10","4.13.0-1008.11","4.13.0-1011.15","4.13.0-1012.16","4.13.0-1013.17","4.13.0-1015.19","4.13.0-1017.21","4.13.0-1019.23","4.15.0-1014.14~16.04.1","4.15.0-1015.15~16.04.1","4.15.0-1017.18~16.04.1","4.15.0-1018.19~16.04.2","4.15.0-1019.20~16.04.1","4.15.0-1021.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1024.25~16.04.2"],"fixed":["4.15.0-1025.26~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26~16.04.1"}]}],"versions":["4.10.0-1004.4","4.10.0-1006.6","4.10.0-1007.7","4.10.0-1008.8","4.10.0-1009.9","4.13.0-1002.5","4.13.0-1006.9","4.13.0-1007.10","4.13.0-1008.11","4.13.0-1011.15","4.13.0-1012.16","4.13.0-1013.17","4.13.0-1015.19","4.13.0-1017.21","4.13.0-1019.23","4.15.0-1014.14~16.04.1","4.15.0-1015.15~16.04.1","4.15.0-1017.18~16.04.1","4.15.0-1018.19~16.04.2","4.15.0-1019.20~16.04.1","4.15.0-1021.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1024.25~16.04.2"],"fixed":["4.15.0-1025.26~16.04.1"],"provider":"osv","source":"USN-3836-2","relation":"upstream"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-hwe","purl":"pkg:deb/ubuntu/linux-hwe@4.15.0-42.45~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45~16.04.1"}]}],"versions":["4.8.0-36.36~16.04.1","4.8.0-39.42~16.04.1","4.8.0-41.44~16.04.1","4.8.0-42.45~16.04.1","4.8.0-44.47~16.04.1","4.8.0-45.48~16.04.1","4.8.0-46.49~16.04.1","4.8.0-49.52~16.04.1","4.8.0-51.54~16.04.1","4.8.0-52.55~16.04.1","4.8.0-53.56~16.04.1","4.8.0-54.57~16.04.1","4.8.0-56.61~16.04.1","4.8.0-58.63~16.04.1","4.10.0-27.30~16.04.2","4.10.0-28.32~16.04.2","4.10.0-30.34~16.04.1","4.10.0-32.36~16.04.1","4.10.0-33.37~16.04.1","4.10.0-35.39~16.04.1","4.10.0-37.41~16.04.1","4.10.0-38.42~16.04.1","4.10.0-40.44~16.04.1","4.10.0-42.46~16.04.1","4.13.0-26.29~16.04.2","4.13.0-31.34~16.04.1","4.13.0-32.35~16.04.1","4.13.0-36.40~16.04.1","4.13.0-37.42~16.04.1","4.13.0-38.43~16.04.1","4.13.0-39.44~16.04.1","4.13.0-41.46~16.04.1","4.13.0-43.48~16.04.1","4.13.0-45.50~16.04.1","4.15.0-24.26~16.04.1","4.15.0-29.31~16.04.1","4.15.0-30.32~16.04.1","4.15.0-32.35~16.04.1","4.15.0-33.36~16.04.1","4.15.0-34.37~16.04.1","4.15.0-36.39~16.04.1","4.15.0-38.41~16.04.1","4.15.0-39.42~16.04.1"],"fixed":["4.15.0-42.45~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-hwe","purl":"pkg:deb/ubuntu/linux-hwe@4.15.0-42.45~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45~16.04.1"}]}],"versions":["4.8.0-36.36~16.04.1","4.8.0-39.42~16.04.1","4.8.0-41.44~16.04.1","4.8.0-42.45~16.04.1","4.8.0-44.47~16.04.1","4.8.0-45.48~16.04.1","4.8.0-46.49~16.04.1","4.8.0-49.52~16.04.1","4.8.0-51.54~16.04.1","4.8.0-52.55~16.04.1","4.8.0-53.56~16.04.1","4.8.0-54.57~16.04.1","4.8.0-56.61~16.04.1","4.8.0-58.63~16.04.1","4.10.0-27.30~16.04.2","4.10.0-28.32~16.04.2","4.10.0-30.34~16.04.1","4.10.0-32.36~16.04.1","4.10.0-33.37~16.04.1","4.10.0-35.39~16.04.1","4.10.0-37.41~16.04.1","4.10.0-38.42~16.04.1","4.10.0-40.44~16.04.1","4.10.0-42.46~16.04.1","4.13.0-26.29~16.04.2","4.13.0-31.34~16.04.1","4.13.0-32.35~16.04.1","4.13.0-36.40~16.04.1","4.13.0-37.42~16.04.1","4.13.0-38.43~16.04.1","4.13.0-39.44~16.04.1","4.13.0-41.46~16.04.1","4.13.0-43.48~16.04.1","4.13.0-45.50~16.04.1","4.15.0-24.26~16.04.1","4.15.0-29.31~16.04.1","4.15.0-30.32~16.04.1","4.15.0-32.35~16.04.1","4.15.0-33.36~16.04.1","4.15.0-34.37~16.04.1","4.15.0-36.39~16.04.1","4.15.0-38.41~16.04.1","4.15.0-39.42~16.04.1"],"fixed":["4.15.0-42.45~16.04.1"],"provider":"osv","source":"USN-3836-2","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-aws","purl":"pkg:deb/ubuntu/linux-aws@4.15.0-1029.30?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.30"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1007.7","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1027.27"],"fixed":["4.15.0-1029.30"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-aws","purl":"pkg:deb/ubuntu/linux-aws@4.15.0-1029.30?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.30"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1007.7","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1027.27"],"fixed":["4.15.0-1029.30"],"provider":"osv","source":"USN-3833-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1012.12","4.15.0-1013.13","4.15.0-1014.14","4.15.0-1018.18","4.15.0-1019.19","4.15.0-1021.21","4.15.0-1022.23","4.15.0-1023.24","4.15.0-1025.26","4.15.0-1028.29","4.15.0-1030.31","4.15.0-1031.32","4.15.0-1032.33"],"fixed":["4.15.0-1035.36"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1014.14","4.15.0-1015.15","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1019.20","4.15.0-1021.22","4.15.0-1023.24","4.15.0-1024.25"],"fixed":["4.15.0-1025.26"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1014.14","4.15.0-1015.15","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1019.20","4.15.0-1021.22","4.15.0-1023.24","4.15.0-1024.25"],"fixed":["4.15.0-1025.26"],"provider":"osv","source":"USN-3836-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-kvm","purl":"pkg:deb/ubuntu/linux-kvm@4.15.0-1027.27?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1027.27"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1012.12","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1026.26"],"fixed":["4.15.0-1027.27"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-kvm","purl":"pkg:deb/ubuntu/linux-kvm@4.15.0-1027.27?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1027.27"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1012.12","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1026.26"],"fixed":["4.15.0-1027.27"],"provider":"osv","source":"USN-3836-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-oem","purl":"pkg:deb/ubuntu/linux-oem@4.15.0-1028.33?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1028.33"}]}],"versions":["4.15.0-1002.3","4.15.0-1004.5","4.15.0-1006.9","4.15.0-1008.11","4.15.0-1009.12","4.15.0-1012.15","4.15.0-1013.16","4.15.0-1015.18","4.15.0-1017.20","4.15.0-1018.21","4.15.0-1021.24","4.15.0-1024.29","4.15.0-1026.31"],"fixed":["4.15.0-1028.33"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-raspi2","purl":"pkg:deb/ubuntu/linux-raspi2@4.15.0-1029.31?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.31"}]}],"versions":["4.13.0-1005.5","4.13.0-1006.6","4.13.0-1008.8","4.15.0-1006.7","4.15.0-1009.10","4.15.0-1010.11","4.15.0-1011.12","4.15.0-1012.13","4.15.0-1013.14","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1020.22","4.15.0-1021.23","4.15.0-1022.24","4.15.0-1024.26","4.15.0-1026.28","4.15.0-1027.29","4.15.0-1028.30"],"fixed":["4.15.0-1029.31"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-raspi2","purl":"pkg:deb/ubuntu/linux-raspi2@4.15.0-1029.31?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.31"}]}],"versions":["4.13.0-1005.5","4.13.0-1006.6","4.13.0-1008.8","4.15.0-1006.7","4.15.0-1009.10","4.15.0-1010.11","4.15.0-1011.12","4.15.0-1012.13","4.15.0-1013.14","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1020.22","4.15.0-1021.23","4.15.0-1022.24","4.15.0-1024.26","4.15.0-1026.28","4.15.0-1027.29","4.15.0-1028.30"],"fixed":["4.15.0-1029.31"],"provider":"osv","source":"USN-3836-1","relation":"upstream"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"not_affected","packages":["kernel"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-firmware","kernel-headers","kernel-kdump","kernel-kdump-devel","perf","python-perf"],"package_count":13,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:enterprise_linux:7","status":"not_affected","packages":["bpftool","kernel","kernel-abi-whitelists","kernel-alt","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-headers","kernel-kdump","kernel-kdump-devel","kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-debug-kvm","kernel-rt-devel","kernel-rt-doc","kernel-rt-kvm","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-trace-kvm","kernel-tools","kernel-tools-libs","kernel-tools-libs-devel"],"package_count":27,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["bpftool","kernel","kernel-abi-stablelists","kernel-abi-whitelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core","kernel-debug-devel","kernel-debug-modules","kernel-debug-modules-extra","kernel-debug-modules-internal","kernel-devel","kernel-doc","kernel-headers","kernel-ipaclones-internal","kernel-modules","kernel-modules-extra","kernel-modules-internal","kernel-rt","kernel-rt-core","kernel-rt-debug","kernel-rt-debug-core","kernel-rt-debug-devel","kernel-rt-debug-kvm"],"package_count":46,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise MRG 2","cpe":"cpe:/a:redhat:enterprise_mrg:2","status":"not_affected","packages":["kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-devel","kernel-rt-doc","kernel-rt-firmware","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-vanilla","kernel-rt-vanilla-devel","mrg-rt-release"],"package_count":11,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"}],"records":[{"provider":"osv","source_id":"USN-3833-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-3833-1","license":"CC-BY-SA-4.0","published_at":"2018-11-30T06:31:39Z","modified_at":"2026-02-10T04:41:27Z","summary":"linux-aws vulnerabilities","details":"Jann Horn discovered that the Linux kernel mishandles mapping UID or GID\nranges inside nested user namespaces in some situations. A local attacker\ncould use this to bypass access controls on resources outside the\nnamespace. (CVE-2018-18955)\n\nPhilipp Wendler discovered that the overlayfs implementation in the Linux\nkernel did not properly verify the directory contents permissions from\nwithin a unprivileged user namespace. A local attacker could use this to\nexpose sensitive information (protected file names). (CVE-2018-6559)","severity":[],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-aws","purl":"pkg:deb/ubuntu/linux-aws@4.15.0-1029.30?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.30"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1007.7","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1027.27"],"fixed":["4.15.0-1029.30"],"provider":"osv","source":"USN-3833-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3833-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6559"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18955"}]},{"provider":"osv","source_id":"USN-3836-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-3836-1","license":"CC-BY-SA-4.0","published_at":"2018-12-03T19:40:09Z","modified_at":"2026-04-22T09:52:58.692098Z","summary":"linux, linux-gcp, linux-kvm, linux-raspi2 vulnerabilities","details":"Jann Horn discovered that the Linux kernel mishandles mapping UID or GID\nranges inside nested user namespaces in some situations. A local attacker\ncould use this to bypass access controls on resources outside the\nnamespace. (CVE-2018-18955)\n\nPhilipp Wendler discovered that the overlayfs implementation in the Linux\nkernel did not properly verify the directory contents permissions from\nwithin a unprivileged user namespace. A local attacker could use this to\nexpose sensitive information (protected file names). (CVE-2018-6559)","severity":[],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"linux","purl":"pkg:deb/ubuntu/linux@4.15.0-42.45?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45"}]}],"versions":["4.13.0-16.19","4.13.0-17.20","4.13.0-25.29","4.13.0-32.35","4.15.0-10.11","4.15.0-12.13","4.15.0-13.14","4.15.0-15.16","4.15.0-19.20","4.15.0-20.21","4.15.0-22.24","4.15.0-23.25","4.15.0-24.26","4.15.0-29.31","4.15.0-30.32","4.15.0-32.35","4.15.0-33.36","4.15.0-34.37","4.15.0-36.39","4.15.0-38.41","4.15.0-39.42"],"fixed":["4.15.0-42.45"],"provider":"osv","source":"USN-3836-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1014.14","4.15.0-1015.15","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1019.20","4.15.0-1021.22","4.15.0-1023.24","4.15.0-1024.25"],"fixed":["4.15.0-1025.26"],"provider":"osv","source":"USN-3836-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-kvm","purl":"pkg:deb/ubuntu/linux-kvm@4.15.0-1027.27?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1027.27"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1012.12","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1026.26"],"fixed":["4.15.0-1027.27"],"provider":"osv","source":"USN-3836-1","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-raspi2","purl":"pkg:deb/ubuntu/linux-raspi2@4.15.0-1029.31?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.31"}]}],"versions":["4.13.0-1005.5","4.13.0-1006.6","4.13.0-1008.8","4.15.0-1006.7","4.15.0-1009.10","4.15.0-1010.11","4.15.0-1011.12","4.15.0-1012.13","4.15.0-1013.14","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1020.22","4.15.0-1021.23","4.15.0-1022.24","4.15.0-1024.26","4.15.0-1026.28","4.15.0-1027.29","4.15.0-1028.30"],"fixed":["4.15.0-1029.31"],"provider":"osv","source":"USN-3836-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6559"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18955"}]},{"provider":"osv","source_id":"USN-3836-2","relation":"upstream","url":"https://osv.dev/vulnerability/USN-3836-2","license":"CC-BY-SA-4.0","published_at":"2018-12-04T04:49:26Z","modified_at":"2026-02-10T04:41:27Z","summary":"linux-hwe, linux-gcp vulnerabilities","details":"USN-3836-1 fixed vulnerabilities in the Linux kernel for Ubuntu 18.04\nLTS. This update provides the corresponding updates for the Linux\nHardware Enablement (HWE) kernel from Ubuntu 18.04 LTS for Ubuntu\n16.04 LTS.\n\nJann Horn discovered that the Linux kernel mishandles mapping UID or GID\nranges inside nested user namespaces in some situations. A local attacker\ncould use this to bypass access controls on resources outside the\nnamespace. (CVE-2018-18955)\n\nPhilipp Wendler discovered that the overlayfs implementation in the Linux\nkernel did not properly verify the directory contents permissions from\nwithin a unprivileged user namespace. A local attacker could use this to\nexpose sensitive information (protected file names). (CVE-2018-6559)","severity":[],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26~16.04.1"}]}],"versions":["4.10.0-1004.4","4.10.0-1006.6","4.10.0-1007.7","4.10.0-1008.8","4.10.0-1009.9","4.13.0-1002.5","4.13.0-1006.9","4.13.0-1007.10","4.13.0-1008.11","4.13.0-1011.15","4.13.0-1012.16","4.13.0-1013.17","4.13.0-1015.19","4.13.0-1017.21","4.13.0-1019.23","4.15.0-1014.14~16.04.1","4.15.0-1015.15~16.04.1","4.15.0-1017.18~16.04.1","4.15.0-1018.19~16.04.2","4.15.0-1019.20~16.04.1","4.15.0-1021.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1024.25~16.04.2"],"fixed":["4.15.0-1025.26~16.04.1"],"provider":"osv","source":"USN-3836-2","relation":"upstream"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-hwe","purl":"pkg:deb/ubuntu/linux-hwe@4.15.0-42.45~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45~16.04.1"}]}],"versions":["4.8.0-36.36~16.04.1","4.8.0-39.42~16.04.1","4.8.0-41.44~16.04.1","4.8.0-42.45~16.04.1","4.8.0-44.47~16.04.1","4.8.0-45.48~16.04.1","4.8.0-46.49~16.04.1","4.8.0-49.52~16.04.1","4.8.0-51.54~16.04.1","4.8.0-52.55~16.04.1","4.8.0-53.56~16.04.1","4.8.0-54.57~16.04.1","4.8.0-56.61~16.04.1","4.8.0-58.63~16.04.1","4.10.0-27.30~16.04.2","4.10.0-28.32~16.04.2","4.10.0-30.34~16.04.1","4.10.0-32.36~16.04.1","4.10.0-33.37~16.04.1","4.10.0-35.39~16.04.1","4.10.0-37.41~16.04.1","4.10.0-38.42~16.04.1","4.10.0-40.44~16.04.1","4.10.0-42.46~16.04.1","4.13.0-26.29~16.04.2","4.13.0-31.34~16.04.1","4.13.0-32.35~16.04.1","4.13.0-36.40~16.04.1","4.13.0-37.42~16.04.1","4.13.0-38.43~16.04.1","4.13.0-39.44~16.04.1","4.13.0-41.46~16.04.1","4.13.0-43.48~16.04.1","4.13.0-45.50~16.04.1","4.15.0-24.26~16.04.1","4.15.0-29.31~16.04.1","4.15.0-30.32~16.04.1","4.15.0-32.35~16.04.1","4.15.0-33.36~16.04.1","4.15.0-34.37~16.04.1","4.15.0-36.39~16.04.1","4.15.0-38.41~16.04.1","4.15.0-39.42~16.04.1"],"fixed":["4.15.0-42.45~16.04.1"],"provider":"osv","source":"USN-3836-2","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6559"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18955"}]},{"provider":"cvelistv5","source_id":"CVE-2018-18955","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2018-18955","license":"CC-BY-4.0","published_at":"2018-11-16T20:00:00Z","modified_at":"2024-08-05T11:23:08.917Z","summary":"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...","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd"},{"type":"WEB","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3836-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3835-1/"},{"type":"WEB","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1712"},{"type":"WEB","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3833-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3832-1/"},{"type":"EXPLOIT","url":"https://www.exploit-db.com/exploits/45915/"},{"type":"WEB","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.2"},{"type":"EXPLOIT","url":"https://www.exploit-db.com/exploits/45886/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3836-1/"},{"type":"WEB","url":"http://www.securityfocus.com/bid/105941"},{"type":"WEB","url":"https://support.f5.com/csp/article/K39103040"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20190416-0003/"}]},{"provider":"nvd","source_id":"CVE-2018-18955","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18955","severity":[],"affected":[{"ecosystem":"NVD","package":"canonical:ubuntu_linux","versions":["16.04","18.04","18.10"],"provider":"nvd","source":"CVE-2018-18955","relation":"self"},{"ecosystem":"NVD","package":"linux:linux_kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15"},{"fixed":"4.19.2"}]}],"fixed":["4.19.2"],"provider":"nvd","source":"CVE-2018-18955","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2018-18955","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-18955","published_at":"2018-11-16T20:29:00.233Z","modified_at":"2026-10-23T18:03:03.139694Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2018-18955"}],"affected":[{"ecosystem":"Debian:12","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"},{"ecosystem":"Debian:13","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"},{"ecosystem":"Debian:14","package":"linux","purl":"pkg:deb/debian/linux?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.18.20-1"}]}],"fixed":["4.18.20-1"],"provider":"osv","source":"DEBIAN-CVE-2018-18955","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-18955"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2018-18955","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-18955","license":"CC-BY-SA-4.0","published_at":"2018-11-16T00:00:00Z","modified_at":"2026-04-22T11:49:47.52252Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2018-18955"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2018-18955"}],"affected":[{"ecosystem":"Ubuntu:14.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36~14.04.2?arch=source&distro=trusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36~14.04.2"}]}],"versions":["4.15.0-1023.24~14.04.1","4.15.0-1030.31~14.04.1","4.15.0-1031.32~14.04.1","4.15.0-1032.33~14.04.2"],"fixed":["4.15.0-1035.36~14.04.2"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36~16.04.1"}]}],"versions":["4.11.0-1009.9","4.11.0-1011.11","4.11.0-1013.13","4.11.0-1014.14","4.11.0-1015.15","4.11.0-1016.16","4.13.0-1005.7","4.13.0-1006.8","4.13.0-1007.9","4.13.0-1009.12","4.13.0-1011.14","4.13.0-1012.15","4.13.0-1014.17","4.13.0-1016.19","4.13.0-1018.21","4.15.0-1013.13~16.04.2","4.15.0-1014.14~16.04.1","4.15.0-1018.18~16.04.1","4.15.0-1019.19~16.04.1","4.15.0-1021.21~16.04.1","4.15.0-1022.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1025.26~16.04.1","4.15.0-1028.29~16.04.1","4.15.0-1030.31~16.04.1","4.15.0-1031.32~16.04.1","4.15.0-1032.33~16.04.1"],"fixed":["4.15.0-1035.36~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26~16.04.1"}]}],"versions":["4.10.0-1004.4","4.10.0-1006.6","4.10.0-1007.7","4.10.0-1008.8","4.10.0-1009.9","4.13.0-1002.5","4.13.0-1006.9","4.13.0-1007.10","4.13.0-1008.11","4.13.0-1011.15","4.13.0-1012.16","4.13.0-1013.17","4.13.0-1015.19","4.13.0-1017.21","4.13.0-1019.23","4.15.0-1014.14~16.04.1","4.15.0-1015.15~16.04.1","4.15.0-1017.18~16.04.1","4.15.0-1018.19~16.04.2","4.15.0-1019.20~16.04.1","4.15.0-1021.22~16.04.1","4.15.0-1023.24~16.04.1","4.15.0-1024.25~16.04.2"],"fixed":["4.15.0-1025.26~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"linux-hwe","purl":"pkg:deb/ubuntu/linux-hwe@4.15.0-42.45~16.04.1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45~16.04.1"}]}],"versions":["4.8.0-36.36~16.04.1","4.8.0-39.42~16.04.1","4.8.0-41.44~16.04.1","4.8.0-42.45~16.04.1","4.8.0-44.47~16.04.1","4.8.0-45.48~16.04.1","4.8.0-46.49~16.04.1","4.8.0-49.52~16.04.1","4.8.0-51.54~16.04.1","4.8.0-52.55~16.04.1","4.8.0-53.56~16.04.1","4.8.0-54.57~16.04.1","4.8.0-56.61~16.04.1","4.8.0-58.63~16.04.1","4.10.0-27.30~16.04.2","4.10.0-28.32~16.04.2","4.10.0-30.34~16.04.1","4.10.0-32.36~16.04.1","4.10.0-33.37~16.04.1","4.10.0-35.39~16.04.1","4.10.0-37.41~16.04.1","4.10.0-38.42~16.04.1","4.10.0-40.44~16.04.1","4.10.0-42.46~16.04.1","4.13.0-26.29~16.04.2","4.13.0-31.34~16.04.1","4.13.0-32.35~16.04.1","4.13.0-36.40~16.04.1","4.13.0-37.42~16.04.1","4.13.0-38.43~16.04.1","4.13.0-39.44~16.04.1","4.13.0-41.46~16.04.1","4.13.0-43.48~16.04.1","4.13.0-45.50~16.04.1","4.15.0-24.26~16.04.1","4.15.0-29.31~16.04.1","4.15.0-30.32~16.04.1","4.15.0-32.35~16.04.1","4.15.0-33.36~16.04.1","4.15.0-34.37~16.04.1","4.15.0-36.39~16.04.1","4.15.0-38.41~16.04.1","4.15.0-39.42~16.04.1"],"fixed":["4.15.0-42.45~16.04.1"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux","purl":"pkg:deb/ubuntu/linux@4.15.0-42.45?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-42.45"}]}],"versions":["4.13.0-16.19","4.13.0-17.20","4.13.0-25.29","4.13.0-32.35","4.15.0-10.11","4.15.0-12.13","4.15.0-13.14","4.15.0-15.16","4.15.0-19.20","4.15.0-20.21","4.15.0-22.24","4.15.0-23.25","4.15.0-24.26","4.15.0-29.31","4.15.0-30.32","4.15.0-32.35","4.15.0-33.36","4.15.0-34.37","4.15.0-36.39","4.15.0-38.41","4.15.0-39.42"],"fixed":["4.15.0-42.45"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-aws","purl":"pkg:deb/ubuntu/linux-aws@4.15.0-1029.30?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.30"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1007.7","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1027.27"],"fixed":["4.15.0-1029.30"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-azure","purl":"pkg:deb/ubuntu/linux-azure@4.15.0-1035.36?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1035.36"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1012.12","4.15.0-1013.13","4.15.0-1014.14","4.15.0-1018.18","4.15.0-1019.19","4.15.0-1021.21","4.15.0-1022.23","4.15.0-1023.24","4.15.0-1025.26","4.15.0-1028.29","4.15.0-1030.31","4.15.0-1031.32","4.15.0-1032.33"],"fixed":["4.15.0-1035.36"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-gcp","purl":"pkg:deb/ubuntu/linux-gcp@4.15.0-1025.26?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1025.26"}]}],"versions":["4.15.0-1001.1","4.15.0-1003.3","4.15.0-1005.5","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1009.9","4.15.0-1010.10","4.15.0-1014.14","4.15.0-1015.15","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1019.20","4.15.0-1021.22","4.15.0-1023.24","4.15.0-1024.25"],"fixed":["4.15.0-1025.26"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-kvm","purl":"pkg:deb/ubuntu/linux-kvm@4.15.0-1027.27?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1027.27"}]}],"versions":["4.15.0-1002.2","4.15.0-1003.3","4.15.0-1004.4","4.15.0-1006.6","4.15.0-1008.8","4.15.0-1010.10","4.15.0-1011.11","4.15.0-1012.12","4.15.0-1016.16","4.15.0-1017.17","4.15.0-1019.19","4.15.0-1020.20","4.15.0-1021.21","4.15.0-1023.23","4.15.0-1025.25","4.15.0-1026.26"],"fixed":["4.15.0-1027.27"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-oem","purl":"pkg:deb/ubuntu/linux-oem@4.15.0-1028.33?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1028.33"}]}],"versions":["4.15.0-1002.3","4.15.0-1004.5","4.15.0-1006.9","4.15.0-1008.11","4.15.0-1009.12","4.15.0-1012.15","4.15.0-1013.16","4.15.0-1015.18","4.15.0-1017.20","4.15.0-1018.21","4.15.0-1021.24","4.15.0-1024.29","4.15.0-1026.31"],"fixed":["4.15.0-1028.33"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"linux-raspi2","purl":"pkg:deb/ubuntu/linux-raspi2@4.15.0-1029.31?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.0-1029.31"}]}],"versions":["4.13.0-1005.5","4.13.0-1006.6","4.13.0-1008.8","4.15.0-1006.7","4.15.0-1009.10","4.15.0-1010.11","4.15.0-1011.12","4.15.0-1012.13","4.15.0-1013.14","4.15.0-1017.18","4.15.0-1018.19","4.15.0-1020.22","4.15.0-1021.23","4.15.0-1022.24","4.15.0-1024.26","4.15.0-1026.28","4.15.0-1027.29","4.15.0-1028.30"],"fixed":["4.15.0-1029.31"],"provider":"osv","source":"UBUNTU-CVE-2018-18955","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18955"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3832-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3833-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3835-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-18955"}]},{"provider":"redhat-vex","source_id":"CVE-2018-18955","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2018-18955","license":"CC-BY-4.0","published_at":"2018-11-15T00:00:00Z","modified_at":"2021-09-13T09:20:50Z","summary":"kernel: Privilege escalation in map_write() in kernel/user_namespace.c","details":"A flaw was found in the Linux kernel where map_write() in kernel/user_namespace.c allows privilege escalation as it mishandles nested user namespaces with more than 5 UID or GID ranges. An unprivileged user with CAP_SYS_ADMIN in an affected user namespace can bypass access controls on resources outside the namespace. This is possible because a user/group id transformation takes place properly for the namespaced-to-kernel direction but not for the kernel-to-namespaced direction.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"CVE-2018-18955"},{"type":"Red Hat","score":"Important","source":"CVE-2018-18955"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"not_affected","packages":["kernel"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-firmware","kernel-headers","kernel-kdump","kernel-kdump-devel","perf","python-perf"],"package_count":13,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:enterprise_linux:7","status":"not_affected","packages":["bpftool","kernel","kernel-abi-whitelists","kernel-alt","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-headers","kernel-kdump","kernel-kdump-devel","kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-debug-kvm","kernel-rt-devel","kernel-rt-doc","kernel-rt-kvm","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-trace-kvm","kernel-tools","kernel-tools-libs","kernel-tools-libs-devel"],"package_count":27,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["bpftool","kernel","kernel-abi-stablelists","kernel-abi-whitelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core","kernel-debug-devel","kernel-debug-modules","kernel-debug-modules-extra","kernel-debug-modules-internal","kernel-devel","kernel-doc","kernel-headers","kernel-ipaclones-internal","kernel-modules","kernel-modules-extra","kernel-modules-internal","kernel-rt","kernel-rt-core","kernel-rt-debug","kernel-rt-debug-core","kernel-rt-debug-devel","kernel-rt-debug-kvm"],"package_count":46,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"},{"vendor":"Red Hat","product":"Red Hat Enterprise MRG 2","cpe":"cpe:/a:redhat:enterprise_mrg:2","status":"not_affected","packages":["kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-devel","kernel-rt-doc","kernel-rt-firmware","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-vanilla","kernel-rt-vanilla-devel","mrg-rt-release"],"package_count":11,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2018-18955"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-18955.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-18955"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651384"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2018-18955"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18955"},{"type":"WEB","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1712"},{"type":"WEB","url":"https://seclists.org/oss-sec/2018/q4/150"}]}],"references":[{"type":"WEB","url":"https://github.com/torvalds/linux/commit/d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd"},{"type":"WEB","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.19"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3836-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3835-1/"},{"type":"WEB","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1712"},{"type":"WEB","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d2f007dbe7e4c9583eea6eb04d60001e85c6f1bd"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3833-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3832-1/"},{"type":"EXPLOIT","url":"https://www.exploit-db.com/exploits/45915/"},{"type":"WEB","url":"https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.2"},{"type":"EXPLOIT","url":"https://www.exploit-db.com/exploits/45886/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3836-1/"},{"type":"WEB","url":"http://www.securityfocus.com/bid/105941"},{"type":"WEB","url":"https://support.f5.com/csp/article/K39103040"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20190416-0003/"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-18955"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-18955"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3832-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3833-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3835-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3836-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-18955"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-18955.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2018-18955"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1651384"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18955"},{"type":"WEB","url":"https://seclists.org/oss-sec/2018/q4/150"}],"sources":[{"provider":"osv","source_id":"USN-3833-1","url":"https://osv.dev/vulnerability/USN-3833-1","license":"CC-BY-SA-4.0","modified_at":"2026-02-10T04:41:27Z","relation":"upstream"},{"provider":"osv","source_id":"USN-3836-1","url":"https://osv.dev/vulnerability/USN-3836-1","license":"CC-BY-SA-4.0","modified_at":"2026-04-22T09:52:58.692098Z","relation":"upstream"},{"provider":"osv","source_id":"USN-3836-2","url":"https://osv.dev/vulnerability/USN-3836-2","license":"CC-BY-SA-4.0","modified_at":"2026-02-10T04:41:27Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2018-18955","url":"https://www.cve.org/CVERecord?id=CVE-2018-18955","license":"CC-BY-4.0","modified_at":"2024-08-05T11:23:08.917Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2018-18955","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18955","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2018-18955","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2018-18955","modified_at":"2026-10-23T18:03:03.139694Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2018-18955","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2018-18955","license":"CC-BY-SA-4.0","modified_at":"2026-04-22T11:49:47.52252Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2018-18955","url":"https://access.redhat.com/security/cve/CVE-2018-18955","license":"CC-BY-4.0","modified_at":"2021-09-13T09:20:50Z","relation":"self"}]}
