CVE-2021-3847 Privilege escalation in kernel

High 7.8 Published Updated

A local attacker can escalate privileges by copying a capable file from a nosuid mount in the Linux kernel OverlayFS subsystem.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3847?

CVE-2021-3847 is a high-severity vulnerability in Fedoraproject Fedora, published on 1 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An unauthorized access to the execution of the setuid file with capabilities flaw in the Linux kernel OverlayFS subsystem was found in the way user copying a capable file from a nosuid mount into another mount. A local user could use this flaw to escalate their privileges on the system.

Weakness: CWE-281

Which versions are affected by CVE-2021-3847?

It affects 2 products.

Products include Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2021-3847?

Apply the vendor's patch.

Is CVE-2021-3847 being exploited?

There is no known exploitation of CVE-2021-3847 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-9301, DEBIAN-CVE-2021-3847, GHSA-m6pr-c5vr-9466, ROOT-OS-DEBIAN-11-CVE-2021-3847, ROOT-OS-DEBIAN-12-CVE-2021-3847, ROOT-OS-DEBIAN-13-CVE-2021-3847 and 2 more.

Is CVE-2021-3847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free