Ubuntu Linux Kernel
Linux Kernel Privilege Escalation Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 2.7 days after publication; added to CISA KEV 1.5 years after publication. First PoC: briskets/CVE-2021-3493 (created 19 Apr 2021, found by us: backfilled).
PoC repositories
Found on GitHub.17 PoCs · 6 pending · 2 informational · 2 suspicious or fake
PoCs 17
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| briskets/CVE-2021-3493 | 19 Apr 2021 +2.7 d | backfilled | 448 | PoC |
| oneoy/CVE-2021-3493 | 22 Apr 2021 +4.9 d | backfilled | 3 | PoC |
| Abdennour-py/CVE-2021-3493 | 2 May 2021 +15 d | backfilled | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| derek-turing/CVE-2021-3493 | 16 Jul 2021 +90 d | backfilled | 0 | PoC via PoC Index |
| cerodah/overlayFS-CVE-2021-3493 | 12 Sep 2021 +148 d | backfilled | 2 | PoC |
| puckiestyle/CVE-2021-3493 | 2 Oct 2021 +168 d | backfilled | 2 | PoC |
| fei9747/CVE-2021-3493 | 29 Nov 2022 +1.6 y | backfilled | 1 | PoC |
| pmihsan/OverlayFS-CVE-2021-3493 | 16 Jan 2023 +1.7 y | backfilled | 0 | PoC via PoC Index |
| ptkhai15/OverlayFS---CVE-2021-3493 | 25 Aug 2023 +2.4 y | backfilled | 0 | PoC via PoC Index |
| Sornphut/OverlayFS---CVE-2021-3493 | 5 Mar 2025 +3.9 y | backfilled | 0 | PoC via PoC Index |
| azazhe1/Ransomware_CVE_2021_3493 | 25 Mar 2025 +3.9 y | backfilled | 0 | PoC |
| cyberx-1/OverlayFS-CVE-2021-3493 | 22 Oct 2025 +4.5 y | backfilled | 0 | PoC via PoC Index |
| George-Yanni/DeepRoot | 23 Dec 2025 +4.7 y | backfilled | 0 | PoC
Flags · score 20
Below the suspicion threshold (50); does not change the assessment. |
| iqbalhussainas/OverlayFS-LPE-Exploit | 20 Apr 2026 +5.0 y | backfilled | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| 0xlane/CVE-2021-3493 | 23 Jul 2026 +5.3 y | backfilled | 0 | PoC |
| r3dw4n48m3d/CVE-2021-3493-Exploit | 1 Sep 2026 +5.4 y | backfilled | 0 | PoC |
| devloperhalaand-ship-it/TryHackMe-OverlayFS---CVE-2021-3493 | 31 Oct 2026 +5.5 y | 14 Nov 2026 | 0 | PoC via PoC Index |
Pending 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xWhoami35/root-kernel | 8 Dec 2023 +2.6 y | 0 | Pending · repository exceeds size limit via PoC Index |
| iamz24/CVE-2021-3493_CVE-2022-3357 | 4 Jul 2024 +3.2 y | 0 | Pending · repository exceeds size limit via PoC Index |
| AmIAHuman/OverlayFS-CVE-2021-3493 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| Ishan3011/CVE-2021-3493 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| Senz4wa/CVE-2021-3493 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| smallkill/CVE-2021-3493 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| fathallah17/OverlayFS-CVE-2021-3493 | 16 Sep 2024 +3.4 y | 0 | Informational · write-up |
| WhatsWrongAndWhy/CVE-2021-3493 | 21 Jul 2026 +5.3 y | 0 | Informational · write-up |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| inspiringz/CVE-2021-3493 | 7 Jul 2021 +81 d | 42 | Fake |
| Ayham-Megdadi/Zero-Day-Legacy | 5 Jul 2026 +5.2 y | 2 | Suspicious · score 60
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: 2021 Ubuntu Overlayfs LPE (exploit/linux/local/cve_2021_3493_overlayfs) | 1 Dec 2021 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 19 PoC reposGET /command
- Seen in
- 1 repo: George-Yanni/DeepRoot
- Evidence
- George-Yanni/DeepRoot/Option_9_Establish_C2_connection/README.md:189
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/command(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-3493 Ubuntu linux kernel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/command"; reference:url,poc.griffinguard.io/cve/CVE-2021-3493; classtype:web-application-attack; sid:9820347; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Ubuntu linux kernel exploit attempt (CVE-2021-3493)
id: gg-pocmon-cve-2021-3493-9820347
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3493. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3493
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/command'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3493