cve.bz

CVE-2021-42384 Use After Free

7.2 highEPSS 2.8%

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

On this page
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 handle_special function

Severity

CVSS 3.1

7.2 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
2.8% (unchanged from 2.8% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
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-42384 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42384?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42384?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-42384 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 CNA's record in the CVE List.

ProductAffected
busyboxbefore 1.34.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11busybox1:1.30.1-6+deb11u1DLA-4019-1
Debian12, 13, 14busybox1:1.35.0-1DEBIAN-CVE-2021-42384
Ubuntu18.04:LTSbusybox1:1.27.2-2ubuntu3.4UBUNTU-CVE-2021-42384 USN-5179-1
Ubuntu20.04:LTSbusybox1:1.30.1-4ubuntu6.4UBUNTU-CVE-2021-42384 USN-5179-1
Ubuntu22.04:LTSbusybox1:1.30.1-7ubuntu2UBUNTU-CVE-2021-42384
UbuntuPro:14.04:LTS, Pro:16.04:LTSbusyboxno fix listedUBUNTU-CVE-2021-42384
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 morebusybox1.34.1-4.9.1SUSE-SU-2022:0135-1
SUSELinux Enterprise Module for Basesystem 15 SP4busybox1.35.0-150400.3.3.1SUSE-SU-2022:3959-1
SUSELinux Enterprise Real Time 15 SP2busybox1.34.1-4.9.1SUSE-SU-2022:0135-2
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 5 morebusybox1.35.0-4.3.1SUSE-SU-2022:4253-1
openSUSELeap 15.3busybox1.34.1-4.9.1openSUSE-SU-2022:0135-1
openSUSELeap 15.3virtualbox6.1.34-lp153.2.27.2openSUSE-SU-2022:0135-1
openSUSELeap 15.3virtualbox-kmp6.1.34-lp153.2.27.1openSUSE-SU-2022:0135-1
openSUSELeap 15.4busybox1.35.0-150400.3.3.1SUSE-SU-2022:3959-1
Alpinev3.11busybox1.31.1-r11ALPINE-CVE-2021-42384
Alpinev3.12busybox1.31.1-r21ALPINE-CVE-2021-42384
Alpinev3.13busybox1.32.1-r7ALPINE-CVE-2021-42384
Alpinev3.14busybox1.33.1-r6ALPINE-CVE-2021-42384
Alpinev3.15, v3.16, v3.17 and 7 morebusybox1.34.0-r0ALPINE-CVE-2021-42384
Azure Linux2busybox1.35.0-1AZL-6350

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, 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 · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Attack complexity is High because it's only exploited with a specially crafted awk pattern under rare conditions.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6busyboxNot 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-42384.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-166-10Siemens SIMATIC S7-1500 TM MFP BIOS2023-06-13MultipleSIMATIC S7-1500 TM MFP - BIOSnone listed
ICSA-23-166-12Siemens SINAMICS Medium Voltage Products2023-06-13MultipleSINAMICS PERFECT HARMONY GH180 6SR5none listed
ICSA-23-075-01Siemens SCALANCE, RUGGEDCOM Third-Party2023-03-14MultipleRUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2), RUGGEDCOM RM1224 LTE(4G) NAM (6GK6108-4AM00-2DA2), SCALANCE M804PB (6GK5804-0AP00-2AA2) and 17 morenone listed
ICSA-23-080-07Siemens SCALANCE Third-Party2023-03-14MultipleSCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM766-1 (EU) (6GK5766-1GE00-7DA0), SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) and 6 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON