In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2, the tab autocomplete feature of the shell, used to get a list of filenames in a directory, does not sanitize filenames and results in executing any escape sequence in the terminal. This could potentially result in code execution, arbitrary file writes, or other attacks.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-dbgsym" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-initramfs" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-initramfs-dbgsym" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-static" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-static-dbgsym" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-syslogd" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-udeb" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "busybox-udeb-dbgsym" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "udhcpc" }, { "binary_version": "1:1.21.0-1ubuntu1.4", "binary_name": "udhcpd" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-dbgsym" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-initramfs" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-initramfs-dbgsym" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-static" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-static-dbgsym" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-syslogd" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-udeb" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "busybox-udeb-dbgsym" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "udhcpc" }, { "binary_version": "1:1.22.0-15ubuntu1.4", "binary_name": "udhcpd" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-dbgsym" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-initramfs" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-initramfs-dbgsym" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-static" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-static-dbgsym" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-syslogd" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "busybox-udeb" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "udhcpc" }, { "binary_version": "1:1.27.2-1ubuntu4", "binary_name": "udhcpd" } ] }