Advisory

UBUNTU-CVE-2018-18955

Also known as: CVE-2018-18955

Summary

The record has no summary.

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

High Basis: CVSS v3 score 7, vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2018-11-16 00:00 UTC
Modified
2026-04-22 11:49 UTC

Affected packages and fixes

11 affected packages; affected: earlier versions
PackageSystemFix
linux-azureDebian packages (deb) · Ubuntu 14.04sudo apt-get update && sudo apt-get upgrade
linux-azureDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-gcpDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-hweDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linuxDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-awsDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-azureDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-gcpDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-kvmDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-oemDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-raspi2Debian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade

Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences