Remote Code Execution (RCE) Affecting busybox package, versions [,1.28.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
11.52% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-BUSYBOX-2318790
  • published14 Dec 2021
  • disclosed20 Nov 2017
  • creditUnknown

Introduced: 20 Nov 2017

CVE-2017-16544  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade busybox to version 1.28.0 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). 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.

References

CVSS Scores

version 3.1