OS Command Injection Affecting bash-debuginfo package, versions <0:4.1.2-15.19.amzn1


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.21% (100th 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-AMZN201803-BASHDEBUGINFO-1677714
  • published27 Sept 2021
  • disclosed24 Sept 2014

Introduced: 24 Sep 2014

CVE-2014-6271  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 bash-debuginfo to version 0:4.1.2-15.19.amzn1 or higher.
This issue was patched in ALAS-2014-418.

NVD Description

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

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.

References

CVSS Scores

version 3.1