CVE-2017-16544
published high CVSS 3.1 · 8.8busybox: Insufficient sanitization of filenames when autocompleting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Debian | jessie | busybox | Advisory build | 1:1.22.0-9+deb8u2 | DLA-1445-1 |
| SUSE / openSUSE | SLE-12-SP2 | busyboxx86_64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| Alpine Linux | v3.10 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.11 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.12 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.13 | busybox | Fixed | 1.27.2-r4 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.15 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.16 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.17 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.18 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.19 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.20 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.21 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.22 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.23 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.24 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.3 | busybox | Fixed | 1.24.2-r2 | Package fix record |
| Alpine Linux | v3.4 | busybox | Fixed | 1.24.2-r13 | Package fix record |
| Alpine Linux | v3.5 | busybox | Fixed | 1.25.1-r1 | Package fix record |
| Alpine Linux | v3.6 | busybox | Fixed | 1.26.2-r9 | Package fix record |
| Alpine Linux | v3.7 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.8 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Alpine Linux | v3.9 | busybox | Fixed | 1.27.2-r4 | Package fix record |
| Debian | stretch | busybox | Advisory build | 1:1.22.0-19+deb9u1 | DLA-2559-1 |
| SUSE / openSUSE | SLE-12-SP3 | busyboxx86_64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP4 | busyboxaarch64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP4 | busyboxppc64le | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP4 | busyboxs390x | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP4 | busyboxx86_64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP5 | busyboxaarch64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP5 | busyboxppc64le | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP5 | busyboxs390x | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-12-SP5 | busyboxx86_64 | Advisory build | 1.35.0-4.3.1 | SUSE-SU-2022:4253-1 |
| SUSE / openSUSE | SLE-15 | busyboxaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15 | busyboxppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15 | busyboxs390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busyboxaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busyboxppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busyboxs390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busybox-staticaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busybox-staticppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busybox-statics390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP1 | busybox-staticx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busyboxaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busyboxppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busyboxs390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-2 |
| SUSE / openSUSE | SLE-15-SP2 | busybox-staticaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busybox-staticppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busybox-statics390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busybox-staticx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP2 | busybox-staticx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-2 |
| SUSE / openSUSE | SLE-15-SP3 | busyboxaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busyboxppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busyboxs390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busybox-staticaarch64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busybox-staticppc64le | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busybox-statics390x | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP3 | busybox-staticx86_64 | Advisory build | 1.34.1-4.9.1 | SUSE-SU-2022:0135-1 |
| SUSE / openSUSE | SLE-15-SP4 | busyboxaarch64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busyboxppc64le | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busyboxs390x | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busyboxx86_64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busybox-staticaarch64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busybox-staticppc64le | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busybox-statics390x | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | SLE-15-SP4 | busybox-staticx86_64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busyboxaarch64 | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busyboxppc64le | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busyboxs390x | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busyboxx86_64 | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busybox-staticaarch64 | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busybox-staticppc64le | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busybox-statics390x | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | busybox-staticx86_64 | Advisory build | 1.34.1-4.9.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | python3-virtualboxx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualboxx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-develx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-guest-desktop-iconsnoarch | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-guest-sourcenoarch | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-guest-toolsx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-guest-x11x86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-host-sourcenoarch | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-kmp-defaultx86_64 | Advisory build | 6.1.34_k5.3.18_150300.59.63-lp153.2.27.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-kmp-preemptx86_64 | Advisory build | 6.1.34_k5.3.18_150300.59.63-lp153.2.27.1 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-qtx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-vncx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | virtualbox-websrvx86_64 | Advisory build | 6.1.34-lp153.2.27.2 | OPENSUSE-SU-2022:0135-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busyboxaarch64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busyboxppc64le | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busyboxs390x | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busyboxx86_64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busybox-staticaarch64 | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | busybox-staticppc64le | Advisory build | 1.35.0-150400.3.3.1 | SUSE-SU-2022:3959-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
20- 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
- 20190612 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series http://seclists.org/fulldisclosure/2019/Jun/18
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X http://seclists.org/fulldisclosure/2019/Sep/7
- 20200827 SEC Consult SA-20200827-0 :: Multiple Vulnerabilities in ZTE mobile Hotspot MS910S http://seclists.org/fulldisclosure/2020/Aug/20
- 20200313 SEC Consult SA-20200312-0 :: Authenticated Command Injection in Phoenix Contact TC Router & TC Cloud Client http://seclists.org/fulldisclosure/2020/Mar/15
- 20200902 SEC Consult SA-20200902-0 :: Multiple Vulnerabilities in Red Lion N-Tron 702-W, Red Lion N-Tron 702M12-W http://seclists.org/fulldisclosure/2020/Sep/6
- 20210819 SEC Consult SA-20210819-0 :: Multiple critical vulnerabilities in Altus Nexto and Hadron series http://seclists.org/fulldisclosure/2021/Aug/21
- 20210113 SEC Consult SA-20210113-0 :: Multiple vulnerabilities in Pepperl+Fuchs IO-Link Master Series http://seclists.org/fulldisclosure/2021/Jan/39
- 20220617 SEC Consult SA-20220615-0 :: Hardcoded Backdoor User and Outdated Software Components in Nexans FTTO GigaSwitch series 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
- [debian-lts-announce] 20180727 [SECURITY] [DLA 1445-1] busybox security update https://lists.debian.org/debian-lts-announce/2018/07/msg00037.html
- [debian-lts-announce] 20210215 [SECURITY] [DLA 2559-1] busybox security update https://lists.debian.org/debian-lts-announce/2021/02/msg00020.html
- 20190613 SEC Consult SA-20190612-0 :: Multiple vulnerabilities in WAGO 852 Industrial Managed Switch Series https://seclists.org/bugtraq/2019/Jun/14
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X https://seclists.org/bugtraq/2019/Sep/7
- https://us-cert.cisa.gov/ics/advisories/icsa-20-240-01
- USN-3935-1 https://usn.ubuntu.com/3935-1/
- https://www.twistlock.com/2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4b8dec484c6fdcfc6c385fbc9e1e776a538eb1a19fee9cff8f382c77c7a35ed0
- Ingested
- 23 Sep 2026, 07:42:15 UTC
- Source record
- Official CVE record