CVE-2017-16544

busybox: Insufficient sanitization of filenames when autocompleting

Published Nov 20, 2017 CVSS 3.1 · 8.8 High EPSS 6.1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1445-1 busybox security update
Debian DLA Debian DLA DLA-2559-1 busybox security update
EUVD EUVD EUVD-2017-7737 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.
Ubuntu USN Ubuntu USN USN-3935-1 BusyBox vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jun 9, 2025, 3:35 PM
Reserved
Nov 5, 2017, 12:00 AM
Status
Modified
Published
Nov 20, 2017, 3:29 PM
Modified
Jun 17, 2026, 1:09 AM
Severity
Moderate
Public date
Nov 8, 2017, 12:00 AM