BreachSpiderVerified, not vibes

CVE-2021-3493 in Canonical Ubuntu Linux

Known-exploited (CISA) since 2022-10-20 High 7.8

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 mount...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS49.2%
EPSS percentile99th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux < 20.10

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2022-10-20
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-3493
BreachSpider IDBS-2021-GLOBAL-278050-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2021-04-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-270: CWE-270

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-270

CAPEC-17 Using Malicious Files via CWE-270

CAPEC-30 Hijacking a Privileged Thread of Execution via CWE-270

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-3493 affects the overlayfs implementation in the Linux kernel, allowing an attacker to gain elevated privileges due to improper validation of file capabilities in user namespaces. This vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof of concept available.

The vulnerability can be exploited by an attacker with local access to the system. By leveraging unprivileged user namespaces and a specific patch in the Ubuntu kernel that allows unprivileged overlay mounts, an attacker can set file capabilities on files in the underlying file system, leading to privilege escalation.

Compensating controls AI-drafted, review before use

Implement strict user namespace policies and restrict unprivileged overlay mounts to mitigate the risk of privilege escalation.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2021-3493?

CVE-2021-3493 affects the overlayfs implementation in the Linux kernel, allowing an attacker to gain elevated privileges due to improper validation of file capabilities in user namespaces. This vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof of concept available.

What is the CVSS score for CVE-2021-3493?

CVE-2021-3493 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 49.2%.

Is CVE-2021-3493 actively exploited?

Yes. CVE-2021-3493 is in the CISA known-exploited catalog (added 2022-10-20). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2021-3493?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2021-3493?

CVE-2021-3493 affects Canonical Ubuntu Linux.

What NERC-CIP standard applies to CVE-2021-3493?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to control systems, which could compromise the integrity and availability of critical infrastructure.

What IEC 62443 requirement maps to CVE-2021-3493?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain elevated privileges, which could lead to unauthorized control of industrial systems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.