Stackurity Start free trial

CVEs / CVE-2021-3493

CVE-2021-3493: Linux Kernel Privilege Escalation Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2021-3493

Summary

The overlayfs stacking file system in Linux kernel does not properly validate the application of file capabilities against user namespaces, which could lead to privilege escalation.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 17 Apr 2021 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Ubuntu linux kernelfrom 5.8 kernel, before 5.8.0-50.565.8.0-50.56
Ubuntu linux kernelfrom 5.4 kernel, before 5.4.0-72.805.4.0-72.80
Ubuntu linux kernelfrom 4.15 kernel, before 4.15.0-142.1464.15.0-142.146
Ubuntu linux kernelfrom 4.4 kernel, before 4.4.0-209.2414.4.0-209.241

Exploitation

In CISA KEV since20 Oct 2022
Due date for US federal agencies10 Nov 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.17.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-270, CWE-863

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.