8.8high

CVE-2017-16544

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 f…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
8.8
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
6.1%
percentile 93%
Public exploits
0
none known

Summary

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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
total
Assessed
16 mo ago

Exploit prediction (EPSS)

6.14% probability of exploitation in the next 30 days, higher than 93% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.18.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD3.18.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA3.18.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.06.5AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
Technology feeds
VMware (RSS, critical only)

References

  • twistlock.com /2017/11/20/cve-2017-16544-busybox-autocompletion-vulnerability/ · x_refsource_MISC, x_transferred
  • lists.debian.org /debian-lts-announce/2018/07/msg00037.html · mailing-list, x_refsource_MLIST, x_transferred
  • git.busybox.net /busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8 · x_refsource_MISC, x_transferred
  • usn.ubuntu.com /3935-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • seclists.org /fulldisclosure/2019/Jun/18 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /bugtraq/2019/Jun/14 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • seclists.org /fulldisclosure/2019/Sep/7 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /bugtraq/2019/Sep/7 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • packetstormsecurity.com /files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html · x_refsource_MISC, x_transferred
  • vmware.com /security/advisories/VMSA-2019-0013.html · x_refsource_CONFIRM, x_transferred
  • packetstormsecurity.com /files/154536/VMware-Security-Advisory-2019-0013.html · x_refsource_MISC, x_transferred
  • seclists.org /fulldisclosure/2020/Mar/15 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /fulldisclosure/2020/Aug/20 · mailing-list, x_refsource_FULLDISC, x_transferred
  • us-cert.cisa.gov /ics/advisories/icsa-20-240-01 · x_refsource_MISC, x_transferred
  • seclists.org /fulldisclosure/2020/Sep/6 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /fulldisclosure/2021/Jan/39 · mailing-list, x_refsource_FULLDISC, x_transferred
  • lists.debian.org /debian-lts-announce/2021/02/msg00020.html · mailing-list, x_refsource_MLIST, x_transferred
  • seclists.org /fulldisclosure/2021/Aug/21 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /fulldisclosure/2022/Jun/36 · mailing-list, x_refsource_FULLDISC, x_transferred
  • packetstormsecurity.com /files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.