CVE-2021-3493: Vulnerability in Canonical Ubuntu Linux
Actively exploited. 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.
Exploited in the wild, CWE-270, CWE-863
- Exploitation
- Confirmed 20 Oct 2022
- Severity
- 8.8 of 10
- Attack likelihood
- 49.2 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- Agencies by 10 Nov 2022
Details
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-270, CWE-863
- Published
- 17 Apr 2021
- Last change
- 17 Jun 2026
- Likelihood rank
- Higher than 99 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Required action
- Apply updates per vendor instructions.
Affected products
Affected versions and the first fixed release
- Canonical Ubuntu Linux Before 18.04; From 18.04.1 before 20.04; Before 20.10. Fixed in 18.04, 20.04, 20.10
Advisories
Vendor and security advisories
- packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html
- ubuntu.com/security/notices/USN-4917-1
- openwall.com/lists/oss-security/2021/04/16/1
Patches and fixes
Updates, commits and release notes
Exploit code
Public exploits and proofs of concept, handle with care
- packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html
- packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html
Related
- Ubuntu Linux vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only