Gentoo: GLSA-201612-39: Bash: Arbitrary code execution
Summary
A vulnerability was found in the way Bash expands $HOSTNAME. Injecting malicious code into $HOSTNAME could cause it to run each time Bash expands \h in the prompt string.
Resolution
All Bash users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-shells/bash-4.3_p46-r1"
References
[ 1 ] CVE-2016-0634 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-0634
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201612-39
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Synopsis
A vulnerability in Bash could potentially lead to arbitrary code execution.
Background
Bash is the standard GNU Bourne Again SHell.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-shells/bash < 4.3_p46-r1 >= 4.3_p46-r1
Impact
===== A remote attacker controlling the system's hostname (i.e. via DHCP) could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.
Workaround
There is no known workaround at this time.