Arbitrary Code Injection Affecting busybox package, versions <1:1.21.0-1ubuntu1.4


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.52% (77th percentile)
Expand this section
NVD
8.8 high
Expand this section
Red Hat
4.8 medium
Expand this section
SUSE
7.8 high

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 ID SNYK-UBUNTU1404-BUSYBOX-379211
  • published 20 Nov 2017
  • disclosed 20 Nov 2017

How to fix?

Upgrade Ubuntu:14.04 busybox to version 1:1.21.0-1ubuntu1.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream busybox package and not the busybox package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

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.