Actively exploited · Published Apr 17, 2021 · Assigned by canonical
CVE-2021-3493
High 8.8 Exploited
In plain English
A high-severity security flaw in linux kernel from Ubuntu. Attackers are actively exploiting it in the wild (listed by CISA on October 20, 2022). The chance it is exploited in the next 30 days is estimated at 49.2% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Nov 10, 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.10.38-1 | DEBIAN-CVE-2021-3493 |
| Debian:13 | linux | 5.10.38-1 | DEBIAN-CVE-2021-3493 |
| Debian:14 | linux | 5.10.38-1 | DEBIAN-CVE-2021-3493 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-3493 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-3493 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-3493 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu | linux kernel | 5.8 kernel – before 5.8.0-50.565.4 kernel – before 5.4.0-72.804.15 kernel – before 4.15.0-142.1464.4 kernel – before 4.4.0-209.241 |
Weakness: CWE-270 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://ubuntu.com/security/notices/USN-4917-1 x_refsource_MISC
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52 x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/04/16/1 x_refsource_MISC
- http://packetstormsecurity.com/files/162434/Kernel-Live-Patch-Security-Notice-LSN-0076-1.html x_refsource_MISC
- http://packetstormsecurity.com/files/162866/Ubuntu-OverlayFS-Local-Privilege-Escalation.html x_refsource_MISC
- http://packetstormsecurity.com/files/165151/Ubuntu-Overlayfs-Local-Privilege-Escalation.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3493 government-resource