Vulnerabilities / CVE-2021-42377

critical

CVE-2021-42377

busybox: an attacker-controlled pointer free in hush applet leads to denial of service and possible code execution when processing a crafted shell command

Published Modified CWE 590, 763
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).

Description

An attacker-controlled pointer free in Busybox's hush applet leads to denial of service and possible code execution when processing a crafted shell command, due to the shell mishandling the &&& string. This may be used for remote code execution under rare conditions of filtered command input.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.11busybox0
alpine 3.12busybox0
alpine 3.13busybox0
alpine 3.14busybox0
alpine 3.15busybox0
alpine 3.16busybox0
alpine 3.17busybox0
alpine 3.18busybox0
alpine 3.19busybox0
alpine 3.20busybox0
alpine 3.21busybox0
alpine 3.22busybox0
Show all 20 entries from 20 sources
SourcePackageFixed in
alpine 3.11busybox0
alpine 3.12busybox0
alpine 3.13busybox0
alpine 3.14busybox0
alpine 3.15busybox0
alpine 3.16busybox0
alpine 3.17busybox0
alpine 3.18busybox0
alpine 3.19busybox0
alpine 3.20busybox0
alpine 3.21busybox0
alpine 3.22busybox0
alpine 3.23busybox0
alpine 3.24busybox0
alpine edgebusybox0
debian 11busyboxno fix listed
debian 12busybox1:1.35.0-1
debian 13busybox1:1.35.0-1
debian 14busybox1:1.35.0-1
echobusybox1:1.35.0-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.