The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities on files in an underlying file system. Due to the combination of unprivileged user namespaces along with a patch carried in the Ubuntu kernel to allow unprivileged overlay mounts, an attacker could use this to gain elevated privileges.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:*
|
— |
18.04
|
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:*
|
18.04.1
|
20.04
|
|
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:-:*:*:*
|
— |
20.10
|