← back
CVE-2021-3493

CVE-2021-3493

CVSS 8.8 HIGHEPSS 44.0%● KEVCWE-270
In short

A flaw in overlayfs (a Linux filesystem layer) allows unprivileged users to gain elevated privileges by manipulating file capabilities. This matters because it breaks the security boundary that normally prevents regular users from becoming administrators.

Technical detail

The overlayfs implementation fails to properly validate file capability settings against user namespace restrictions. Combined with Ubuntu's patch enabling unprivileged overlay mounts, an attacker in an unprivileged user namespace can set capabilities on files to escalate privileges without requiring root access initially.

Summary generated and translated by AI from the official description.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
Ubuntu · linux kernel
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →