OS Command Injection Affecting bash package, versions <4.4.12-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
6.02% (94th 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 IDSNYK-ALPINE37-BASH-351536
  • published28 Aug 2017
  • disclosed28 Aug 2017

Introduced: 28 Aug 2017

CVE-2016-0634  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Alpine:3.7 bash to version 4.4.12-r1 or higher.

NVD Description

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

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.