CVE-2021-3493
Last modified
CVE-2021-3493 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 43.99% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Ubuntu Linux | < 18.04 |
| Canonical | Ubuntu Linux | >= 18.04.1, < 20.04 |
| Canonical | Ubuntu Linux | < 20.10 |
References
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.htmlPress/Media Coverage, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52Mailing List, Patch, Third Party Advisory
- https://ubuntu.com/security/notices/USN-4917-1Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/04/16/1Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.htmlPress/Media Coverage, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52Mailing List, Patch, Third Party Advisory
- https://ubuntu.com/security/notices/USN-4917-1Vendor Advisory
- https://www.openwall.com/lists/oss-security/2021/04/16/1Mailing List, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-3493?
How severe is CVE-2021-3493?
How do I fix CVE-2021-3493?
Are you affected by CVE-2021-3493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
