{"id":"UBUNTU-CVE-2021-42377","details":"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.","modified":"2025-07-16T06:47:10.278523Z","published":"2021-11-15T21:15:00Z","withdrawn":"2025-07-18T16:47:01Z","upstream":["CVE-2021-42377"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-42377"},{"type":"REPORT","url":"https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-42377"}],"affected":[{"package":{"name":"busybox","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.27.2-2ubuntu3.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.27.2-2ubuntu3.3"}]}],"versions":["1:1.22.0-19ubuntu2","1:1.27.2-1ubuntu3","1:1.27.2-1ubuntu4","1:1.27.2-2ubuntu2","1:1.27.2-2ubuntu3","1:1.27.2-2ubuntu3.1","1:1.27.2-2ubuntu3.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"busybox","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_name":"busybox-dbgsym","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_name":"busybox-initramfs","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_name":"busybox-initramfs-dbgsym","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_version":"1:1.27.2-2ubuntu3.3","binary_name":"busybox-static"},{"binary_version":"1:1.27.2-2ubuntu3.3","binary_name":"busybox-static-dbgsym"},{"binary_name":"busybox-syslogd","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_version":"1:1.27.2-2ubuntu3.3","binary_name":"busybox-udeb"},{"binary_name":"udhcpc","binary_version":"1:1.27.2-2ubuntu3.3"},{"binary_name":"udhcpd","binary_version":"1:1.27.2-2ubuntu3.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42377.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.30.1-4ubuntu6.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.30.1-4ubuntu6.3"}]}],"versions":["1:1.30.1-4ubuntu4","1:1.30.1-4ubuntu5","1:1.30.1-4ubuntu6","1:1.30.1-4ubuntu6.1","1:1.30.1-4ubuntu6.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"busybox","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_version":"1:1.30.1-4ubuntu6.3","binary_name":"busybox-dbgsym"},{"binary_name":"busybox-initramfs","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_name":"busybox-initramfs-dbgsym","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_name":"busybox-static","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_name":"busybox-static-dbgsym","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_version":"1:1.30.1-4ubuntu6.3","binary_name":"busybox-syslogd"},{"binary_name":"busybox-udeb","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_name":"udhcpc","binary_version":"1:1.30.1-4ubuntu6.3"},{"binary_version":"1:1.30.1-4ubuntu6.3","binary_name":"udhcpd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42377.json"}},{"package":{"name":"busybox","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/busybox@1:1.30.1-6ubuntu3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.30.1-6ubuntu3"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"busybox","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-dbgsym","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-initramfs","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-initramfs-dbgsym","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-static","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-static-dbgsym","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"busybox-syslogd","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"udhcpc","binary_version":"1:1.30.1-6ubuntu3"},{"binary_name":"udhcpd","binary_version":"1:1.30.1-6ubuntu3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42377.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}