CVE-2021-3493Linux Kernel Privilege Escalation Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
49.2%
49.2% chance of exploitation in the next 30 days, higher than 98.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 20 Oct 2022.
US federal deadline to fix: 10 Nov 2022.
Official 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.
Source: NVD · CNA: security@ubuntu.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 20 Oct 2022.
US federal agencies must fix it by 10 Nov 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Canonical Ubuntu Linux, Ubuntu Linux Kernel and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 4.4.0-209.241, 4.15.0-142.146, 5.4.0-72.80, 5.8.0-50.56 or later, on the branch you run.
- Update Ubuntu Linux to 18.04, 20.04, 20.10 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Canonical Ubuntu Linux | < 18.04 · ≥ 18.04.1, < 20.04 · < 20.10 |
| Ubuntu Linux Kernel | ≥ 5.8 kernel, < 5.8.0-50.56 · ≥ 5.4 kernel, < 5.4.0-72.80 · ≥ 4.15 kernel, < 4.15.0-142.146 · ≥ 4.4 kernel, < 4.4.0-209.241 |
Frequently asked questions
Is CVE-2021-3493 being exploited?
Yes. CISA added CVE-2021-3493 to its Known Exploited Vulnerabilities catalog on 20 Oct 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 49.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-3493?
CVE-2021-3493 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Canonical Ubuntu Linux (< 18.04; ≥ 18.04.1, < 20.04; < 20.10), Ubuntu Linux Kernel (≥ 5.8 kernel, < 5.8.0-50.56; ≥ 5.4 kernel, < 5.4.0-72.80; ≥ 4.15 kernel, < 4.15.0-142.146; ≥ 4.4 kernel, < 4.4.0-209.241)
Is there a patch for CVE-2021-3493?
The official record links to vendor advisories or patches; see “What to do” above.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52(Mailing List, Patch, Third Party Advisory)
- ubuntu.com/security/notices/USN-4917-1(Vendor Advisory)
- packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html(Press/Media Coverage, Third Party Advisory, VDB Entry)
- www.openwall.com/lists/oss-security/2021/04/16/1(Mailing List, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.