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?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-34924This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34925This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34926This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34927This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34928This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34929This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34930This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34931This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34932This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34933This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34934This vulnerability allows remote attackers to execute arbitr…7.8
- CVE-2021-34935This vulnerability allows remote attackers to execute arbitr…7.8
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
