CVE-2021-42386 Use after free in busybox
A use-after-free in BusyBox awk allows attackers to cause denial of service or potentially execute code via crafted patterns.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-42386?
CVE-2021-42386 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 15 Nov 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the nvalloc function
Weakness: CWE-416
Which versions are affected by CVE-2021-42386?
It affects 2 products.
Products include Busybox Busybox, Fedoraproject Fedora.
How do I fix CVE-2021-42386?
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-42386 being exploited?
There is no known exploitation of CVE-2021-42386 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2021-42386, AZL-6352, DEBIAN-CVE-2021-42386, GHSA-65mf-h26j-7336, UBUNTU-CVE-2021-42386.