CVE-2021-42381: Use After Free
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 hashinit function
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/busyboxto a version that resolves this vulnerability.Fixed in 1.31.1-r11 - Upgrade
Upgrade
alpine/busyboxto a version that resolves this vulnerability.Fixed in 1.31.1-r21 - Upgrade
Upgrade
alpine/busyboxto a version that resolves this vulnerability.Fixed in 1.32.1-r7 - Upgrade
Upgrade
alpine/busyboxto a version that resolves this vulnerability.Fixed in 1.33.1-r6 - Upgrade
Upgrade
alpine/busyboxto a version that resolves this vulnerability.Fixed in 1.34.0-r0 - Upgrade
Upgrade
debian/busyboxto a version that resolves this vulnerability.Fixed in 1:1.35.0-1 - Upgrade
Upgrade
debian/busyboxto a version that resolves this vulnerability.Fixed in 1:1.30.1-6+deb11u1Fixed in 1:1.35.0-1
Event History
Frequently Asked Questions
What is CVE-2021-42381?
CVE-2021-42381 is a vulnerability in Busybox's awk applet that can lead to denial of service and code execution when processing a crafted awk pattern in the hash_init function.
Which software is affected by CVE-2021-42381?
The following versions of Busybox are affected: 1:1.27.2-2ubuntu3.4, 1:1.30.1-4ubuntu6.4, 1:1.30.1-6ubuntu2.1, 1:1.30.1-6ubuntu3.1, 1:1.30.1-7ubuntu2, and 1.34.0.
How can CVE-2021-42381 be exploited?
CVE-2021-42381 can be exploited by processing a crafted awk pattern in the hash_init function of Busybox's awk applet.
What is the severity of CVE-2021-42381?
The severity of CVE-2021-42381 is not mentioned in the provided information.
How can I fix CVE-2021-42381?
To fix CVE-2021-42381, update Busybox to a version that includes the necessary fixes, such as version 1.35.0-4 or higher.