CVE Vulnerabilities

CVE-2021-42383

Use After Free

Published: Nov 15, 2021 | Modified: Apr 23, 2025
CVSS 3.x
7.2
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.6 MODERATE
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Ubuntu
LOW

A use-after-free in Busyboxs awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the evaluate function

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Busybox Busybox 1.33.1 (including) 1.33.1 (including)
Busybox Ubuntu trusty *
Busybox Ubuntu upstream *
Busybox Ubuntu xenial *

Potential Mitigations

References