CVE-2017-16544
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
20/11/2017
Last modified:
09/06/2025
Description
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Base Score 2.0
6.50
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:busybox:busybox:*:*:*:*:*:*:*:* | 1.27.2 (including) | |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:-:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:1:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:1a:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:1b:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:2:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:3:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:3a:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:600-201504401:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:600-201505401:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:600-201507101:*:*:*:*:*:* | ||
| cpe:2.3:o:vmware:esxi:6.0:600-201507102:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html
- http://packetstormsecurity.com/files/154536/VMware-Security-Advisory-2019-0013.html
- http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://seclists.org/fulldisclosure/2019/Sep/7
- http://seclists.org/fulldisclosure/2020/Aug/20
- http://seclists.org/fulldisclosure/2020/Mar/15
- http://seclists.org/fulldisclosure/2020/Sep/6
- http://seclists.org/fulldisclosure/2021/Aug/21
- http://seclists.org/fulldisclosure/2021/Jan/39
- http://seclists.org/fulldisclosure/2022/Jun/36
- http://www.vmware.com/security/advisories/VMSA-2019-0013.html
- https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
- https://lists.debian.org/debian-lts-announce/2018/07/msg00037.html
- https://lists.debian.org/debian-lts-announce/2021/02/msg00020.html
- https://seclists.org/bugtraq/2019/Jun/14
- https://seclists.org/bugtraq/2019/Sep/7
- https://us-cert.cisa.gov/ics/advisories/icsa-20-240-01
- https://usn.ubuntu.com/3935-1/
- https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html
- http://packetstormsecurity.com/files/154536/VMware-Security-Advisory-2019-0013.html
- http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://seclists.org/fulldisclosure/2019/Sep/7
- http://seclists.org/fulldisclosure/2020/Aug/20
- http://seclists.org/fulldisclosure/2020/Mar/15
- http://seclists.org/fulldisclosure/2020/Sep/6
- http://seclists.org/fulldisclosure/2021/Aug/21
- http://seclists.org/fulldisclosure/2021/Jan/39
- http://seclists.org/fulldisclosure/2022/Jun/36
- http://www.vmware.com/security/advisories/VMSA-2019-0013.html
- https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
- https://lists.debian.org/debian-lts-announce/2018/07/msg00037.html
- https://lists.debian.org/debian-lts-announce/2021/02/msg00020.html
- https://seclists.org/bugtraq/2019/Jun/14
- https://seclists.org/bugtraq/2019/Sep/7
- https://us-cert.cisa.gov/ics/advisories/icsa-20-240-01
- https://usn.ubuntu.com/3935-1/
- https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/



