Vulnerabilities

CVE-2021-3493

Linux Kernel Privilege Escalation Vulnerability

Actively exploited (CISA KEV) High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2021-04-17
Last modified
2026-06-17
Assigned by
security@ubuntu.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
49.2 % higher than 99 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2022-10-20, with a remediation deadline of 2022-11-10 for US federal agencies.

Required action: Apply updates per vendor instructions.

Affected products

Vendor Product Versions Status
Canonical Ubuntu Linux < 18.04 Affected
Canonical Ubuntu Linux < 20.10 Affected
Canonical Ubuntu Linux ≥ 18.04.1, < 20.04 Affected

Weakness type

  • CWE-862: Missing Authorization

    The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

  • CWE-863: Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

  • CWE-270: Privilege Context Switching Error

    The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027.006: HTML Smuggling stealth
  • T1027.009: Embedded Payloads stealth
  • T1055.003: Thread Execution Hijacking stealth, privilege-escalation
  • T1211: Exploitation for Stealth stealth
  • T1542.002: Component Firmware stealth, persistence
  • T1556: Modify Authentication Process defense-impairment, persistence, credential-access
  • T1564.009: Resource Forking stealth
  • T1574.005: Executable Installer File Permissions Weakness stealth, execution
  • T1574.010: Services File Permissions Weakness stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities