CVE-2021-43057 Use after free in n/a

High 7.8 Published Updated

Local attackers can exploit a use-after-free in the SELinux PTRACE_TRACEME handler to escalate privileges and execute arbitrary code.

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-43057?

CVE-2021-43057 is a high-severity use after free vulnerability in Linux kernel, published on 28 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in the Linux kernel before 5.14.8. A use-after-free in selinux_ptrace_traceme (aka the SELinux handler for PTRACE_TRACEME) could be used by local attackers to cause memory corruption and escalate privileges, aka CID-a3727a8bac0a. This occurs because of an attempt to access the subjective credentials of another task.

Weakness: CWE-416

Which versions are affected by CVE-2021-43057?

It affects 9 products.

Products include Linux kernel, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500e Firmware and 3 more.

How do I fix CVE-2021-43057?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-43057 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-6602, DEBIAN-CVE-2021-43057, GHSA-h3xq-35q6-gh9g, UBUNTU-CVE-2021-43057.

Is CVE-2021-43057 in your software?

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

Check your SBOMs for free