The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting…
CVE-2021-3493Published 17 Apr 2021, 04:20 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 20 Oct 2022; US federal agencies must fix it by 10 Nov 2022.
Real-world risk
8.0/ 10High
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from canonical)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| UbuntuUbiquitous | < 5.8.0-50.56; < 5.4.0-72.80; < 4.15.0-142.146; < 4.4.0-209.241 | 5.8.0-50.56, 5.4.0-72.80, 4.15.0-142.146, 4.4.0-209.241 |
What to do
Update to a fixed version: 5.8.0-50.56, 5.4.0-72.80, 4.15.0-142.146, 4.4.0-209.241.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- Metasploit module (link)
- CISA SSVC: exploitation active
EPSS 49.2% chance of exploitation in 30 days (percentile 99), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 0.5 × threat 15.000
- Exploited in the wild: attackers have already met the prerequisites, so they count only by their square root7.071
- Exploited in the wild: at least 88.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 17 Apr 2021 Published
- 20 Oct 2022 Added to CISA KEV
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-270
References
- https://ubuntu.com/security/notices/USN-4917-1misc, x-transferred
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52misc, x-transferred
- https://www.openwall.com/lists/oss-security/2021/04/16/1misc, x-transferred
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.htmlmisc, x-transferred
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.htmlmisc, x-transferred
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.htmlmisc, x-transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493government-resource
- CVE-2021-3493 on CVE.org