cve.bz

CVE-2021-43057 Use After Free

7.8 highExploit referenceEPSS 0.5%Fix available

High (7.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-43057 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43057?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43057?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-43057 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.13 before 5.14.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.9-1DEBIAN-CVE-2021-43057
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-43057
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-43057
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-22.22~20.04.1UBUNTU-CVE-2021-43057
Ubuntu20.04:LTSlinux-oem-5.135.13.0-1020.24UBUNTU-CVE-2021-43057 USN-5162-1
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1005.5UBUNTU-CVE-2021-43057
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 6 moreno fix listedUBUNTU-CVE-2021-43057
Azure Linux2kernel5.15.2.1-1AZL-6602

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The affected code was not introduced into any kernel versions shipped with Red Hat Enterprise Linux making this vulnerable not applicable to these platforms.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-43057.

References

Check your stackJSON