CVE-2021-4157 Memory corruption in kernel
A memory corruption flaw in the Linux kernel NFS subsystem allows local users to crash the system or escalate privileges when using mirroring.
- 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-4157?
CVE-2021-4157 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 25 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (replication of files with NFS). A user, having access to the NFS mount, could potentially use this flaw to crash the system or escalate privileges on the system.
Weakness: CWE-119
Which versions are affected by CVE-2021-4157?
It affects 10 products.
Products include Fedoraproject Fedora, Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410s Firmware, Netapp H500e Firmware and 4 more.
How do I fix CVE-2021-4157?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-4157 being exploited?
There is no known exploitation of CVE-2021-4157 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-4157, GHSA-5w94-r98f-mc64, UBUNTU-CVE-2021-4157.