{"id":"ALPINE-CVE-2017-16544","details":"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.","modified":"2026-06-15T18:18:05.986353912Z","published":"2017-11-20T15:29:00.387Z","upstream":["CVE-2017-16544"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-16544"}],"affected":[{"package":{"name":"busybox","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.3","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.2-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.2-r13"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.2-r9"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}},{"package":{"name":"busybox","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/busybox?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.2-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-16544.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}