Patchfirst
CVE-2021-3493 KEVPublic exploit High · 7.8 EPSS 49.2%

Linux Kernel Privilege Escalation Vulnerability

Linux · Kernel

Summary

The Linux kernel's overlayfs implementation fails to properly validate file capability settings on files in an underlying filesystem with respect to user namespaces, and this flaw combines with an Ubuntu kernel patch that permits unprivileged overlay mounts. An attacker with local access and low privileges, who can create unprivileged user namespaces, can exploit this to gain elevated privileges.

Official description · NVD

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.

Breakdown
68.2 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 18 months after disclosure. Public exploit code (Metasploit) was available 5 days before disclosure.

  1. Public exploit codeMetasploit5 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+18 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Privilege EscalationTA0004

Exploitation for Privilege Escalation T1068 Medium
AI mapping from the description · how it is exploited

local privilege escalation via overlayfs capabilities

an attacker could use this to gain elevated privileges
From the official description (NVD) Original (opens in a new tab) ↗
Abuse Elevation Control Mechanism T1548 Medium
AI mapping from the description · primary impact

abuses setuid/capability elevation mechanisms

Due to the combination of unprivileged user namespaces along with a patch
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 55 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-3493 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

7 links, grouped by NVD tag (6 duplicates merged)
↑ ↓ chooseEnter openEsc close