8.8High KEV

CVE-2021-3493Linux Kernel Privilege Escalation Vulnerability

Ubuntu linux kernel Published: (5 years ago)

Known exploited — Linux Kernel Privilege Escalation Vulnerability

CISA confirmed this vulnerability is used in real attacks on 20.10.2022. Remediation deadline for US federal agencies: 10.11.2022.

Required action: Apply updates per vendor instructions. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c03e2cda4a584cadc398e8f6641ca9988a39d52; https://nvd.nist.gov/vuln/detail/CVE-2021-3493

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.

Weakness (CWE): CWE-270CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
canonical ubuntu linux < 18.04
Ubuntu linux kernel 5.8 kernel – < 5.8.0-50.56, 5.4 kernel – < 5.4.0-72.80, 4.15 kernel – < 4.15.0-142.146, 4.4 kernel – < 4.4.0-209.241

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:* < 18.04
  • cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:lts:*:*:* ≥ 18.04.1 < 20.04
  • cpe:2.3:o:canonical:ubuntu_linux:*:*:*:*:-:*:*:* < 20.10