CVE-2021-3493
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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
49.166%
chance of exploitation in the next 30 days
higher than 98.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-10-20
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Weakness
- CWE-270: Privilege Context Switching Error
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Linux Kernel Privilege Escalation Vulnerability |
|---|---|
| Vendor / product | Linux / Kernel |
| Date added | 2022-10-20 |
| Federal remediation due date | 2022-11-10 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-07 |
Timeline
- 2021-04-17Published by the CNA04:20 UTC
- 2022-10-20Added to the CISA KEV catalog551 days after publication
- 2025-02-07CISA SSVC decision recorded1392 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| canonical ubuntu_linux | before 18.04fixed in 18.04from 18.04.1 before 20.04fixed in 20.04before 20.10fixed in 20.10 | 18.0420.0420.10 |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52
- https://ubuntu.com/security/notices/USN-4917-1
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493
- https://www.openwall.com/lists/oss-security/2021/04/16/1
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-3493'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-3493'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-3493'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-3493'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-3493'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).