Skip to content
OpenAdvisories
High · 8.8 CVE-2017-16544 EUVD-2017-7737GHSA-234c-568r-p7m4

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 Nov 20, 2017 · Updated Jun 9, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 busybox 1:1.27.2-2 —
Debian 13 busybox 1:1.27.2-2 —
Debian 12 busybox 1:1.27.2-2 —
Debian 9 busybox 1:1.22.0-19+deb9u1 DLA-2559-1
Debian 8 busybox 1:1.22.0-9+deb8u2 DLA-1445-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS busybox 1:1.27.2-1ubuntu4 USN-3935-1
Ubuntu 16.04 LTS busybox 1:1.22.0-15ubuntu1.4 USN-3935-1
Ubuntu 14.04 LTS busybox 1:1.21.0-1ubuntu1.4 USN-3935-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 busybox 1.35.0-150400.3.3.1 SUSE-SU-2022:3959-1
SLES 15 SP3 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES 15 SP2 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES 15 SP1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES 15 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
Show 20 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLES 12 SP4 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLES 12 SP3 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLES 12 SP2 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLES for SAP 15 SP2 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES for SAP 15 SP1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES for SAP 15 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLES for SAP 12 SP5 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLES for SAP 12 SP4 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SLE Real Time 15 SP2 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-2
SLE HPC 15 SP2 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLE HPC 15 SP1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SLE HPC 15 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SUSE OpenStack Cloud Crowbar 9 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SUSE OpenStack Cloud 9 busybox 1.35.0-4.3.1 SUSE-SU-2022:4253-1
SUSE Manager Server 4.1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SUSE Manager Retail Branch Server 4.1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SUSE Manager Proxy 4.1 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SUSE Enterprise Storage 7 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
SUSE Enterprise Storage 6 busybox 1.34.1-4.9.1 SUSE-SU-2022:0135-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed busybox 1.35.0-1.1 openSUSE-SU-2024:11738-1
openSUSE Leap 15.4 busybox 1.35.0-150400.3.3.1 SUSE-SU-2022:3959-1
openSUSE Leap 15.3 busybox 1.34.1-4.9.1 openSUSE-SU-2022:0135-1
openSUSE Leap 15.3 virtualbox 6.1.34-lp153.2.27.2 openSUSE-SU-2022:0135-1
openSUSE Leap 15.3 virtualbox-kmp 6.1.34-lp153.2.27.1 openSUSE-SU-2022:0135-1
ReleasePackageFixed inAdvisory
Alpine v3.24 busybox 1.27.2-r4 —
Alpine v3.23 busybox 1.27.2-r4 —
Alpine v3.22 busybox 1.27.2-r4 —
Alpine v3.21 busybox 1.27.2-r4 —
Alpine v3.20 busybox 1.27.2-r4 —
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 busybox 1.27.2-r4 —
Alpine v3.18 busybox 1.27.2-r4 —
Alpine v3.17 busybox 1.27.2-r4 —
Alpine v3.16 busybox 1.27.2-r4 —
Alpine v3.15 busybox 1.27.2-r4 —
Alpine v3.14 busybox 1.27.2-r4 —
Alpine v3.13 busybox 1.27.2-r4 —
Alpine v3.12 busybox 1.27.2-r4 —
Alpine v3.11 busybox 1.27.2-r4 —
Alpine v3.10 busybox 1.27.2-r4 —
Alpine v3.9 busybox 1.27.2-r4 —
Alpine v3.8 busybox 1.27.2-r4 —
Alpine v3.7 busybox 1.27.2-r4 —
Alpine v3.6 busybox 1.26.2-r9 —
Alpine v3.5 busybox 1.25.1-r1 —
Alpine v3.4 busybox 1.24.2-r13 —
Alpine v3.3 busybox 1.24.2-r2 —

Advisories 12

References