CVE-2021-42381: Use After Free

Published 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 hashinit function

Affected Software

4 affected componentsFixes available
debian/busybox<=1:1.30.1-6
1:1.35.0-41:1.36.1-9
Busybox Busybox>=1.21.0<=1.33.1
Fedoraproject Fedora=33
Fedoraproject Fedora=34

Event History

Nov 15, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:01 AM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·09:55 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What is the severity of CVE-2021-42381?

The severity of CVE-2021-42381 is not mentioned in the provided information.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203