CVE-2021-3493
High 8.8KEV · exploitedFix availableLinux Kernel Privilege Escalation Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 99% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1472 days ago for U.S. federal agencies
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.
Weakness: CWE-270
Patching and mitigation
- Patch status
- Fix available (source: CVE record (canonical))
- Fix documented (source date)
- Vendor solution
- Apply https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52
- Mitigation
- Disable unprivileged user namespaces.
- Vendor guidance
- git.kernel.org (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Kernel | Not documented | Not documented | CISA KEV |
| Ubuntu | linux kernel | from 4.15 kernel before 4.15.0-142.146 | 4.15.0-142.146 | CVE Program |
| Ubuntu | linux kernel | from 4.4 kernel before 4.4.0-209.241 | 4.4.0-209.241 | CVE Program |
| Ubuntu | linux kernel | from 5.4 kernel before 5.4.0-72.80 | 5.4.0-72.80 | CVE Program |
| Ubuntu | linux kernel | from 5.8 kernel before 5.8.0-50.56 | 5.8.0-50.56 | CVE Program |
Timeline
Disclosure
CVE record published by canonical
Source: CVE Program (opens in a new tab)
20 Oct 2022KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
20 Oct 2022Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (canonical)
Vendor guidance and references
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52 (opens in a new tab)vendor-advisory, x_refsource_misc, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2021-3493 (opens in a new tab)government
- https://ubuntu.com/security/notices/USN-4917-1 (opens in a new tab)x_refsource_misc, x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493 (opens in a new tab)government-resource
- https://www.openwall.com/lists/oss-security/2021/04/16/1 (opens in a new tab)x_refsource_misc, x_transferred