First published: Mon Nov 15 2021(Updated: )
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 clrvar function
Credit: reefs@jfrog.com reefs@jfrog.com
Affected Software | Affected Version | How to fix |
---|---|---|
Busybox Busybox | >=1.28.0<=1.33.1 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
debian/busybox | <=1:1.30.1-6 | 1:1.35.0-4 1:1.36.1-9 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-42380 is a use-after-free vulnerability in Busybox's awk applet that can lead to denial of service and potentially code execution.
Busybox versions 1.27.2-2ubuntu3.4, 1.30.1-4ubuntu6.4, 1.30.1-6ubuntu2.1, 1.30.1-6ubuntu3.1, 1.30.1-7ubuntu2, and 1.34.0 are affected.
An attacker can exploit CVE-2021-42380 by crafting a malicious awk pattern and passing it to the clrvar function of Busybox's awk applet, leading to the use-after-free vulnerability.
The severity of CVE-2021-42380 is high, as it can result in denial of service and possible code execution.
To fix CVE-2021-42380, update Busybox to version 1.27.2-2ubuntu3.4, 1.30.1-4ubuntu6.4, 1.30.1-6ubuntu2.1, 1.30.1-6ubuntu3.1, 1.30.1-7ubuntu2, or 1.34.0 depending on the specific version in use.