cve.bz

CVE-2021-3493 Linux Kernel Privilege Escalation Vulnerability

7.8 highKEVExploitEPSS 49%Fix available

High (7.8) in Linux Kernel. In CISA KEV since 2022-10-20. EPSS 49% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
49% (unchanged from 49% a week ago; 49% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-10-20, due 2022-11-10
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-863 Incorrect Authorization
CWE-270 Privilege Context Switching Error
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3493 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3493?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3493?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3493 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Ubuntu linux kernelfrom 5.8 kernel before 5.8.0-50.56
Ubuntu linux kernelfrom 5.4 kernel before 5.4.0-72.80
Ubuntu linux kernelfrom 4.15 kernel before 4.15.0-142.146
Ubuntu linux kernelfrom 4.4 kernel before 4.4.0-209.241

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.10.38-1DEBIAN-CVE-2021-3493
Ubuntu16.04:LTSlinux4.4.0-209.241UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-aws4.4.0-1127.141UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1099.106~16.04.1UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-azure4.15.0-1113.126~16.04.1UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1098.111~16.04.1UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-hwe4.15.0-142.146~16.04.1UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-3493
Ubuntu16.04:LTSlinux-kvm4.4.0-1092.101UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1070.78~16.04.1UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1151.162UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1155.165UBUNTU-CVE-2021-3493 USN-4916-1
Ubuntu18.04:LTSlinux4.15.0-142.146UBUNTU-CVE-2021-3493 USN-4916-1
65 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3493.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-30 Hijacking a Privileged Thread of Execution Likelihood: Low · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON