GLSA-201612-39 : Bash: Arbitrary code execution
Medium Nessus Plugin ID 95742
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201612-39 (Bash: Arbitrary code execution)
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.
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.
There is no known workaround at this time.
SolutionAll Bash users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-shells/bash-4.3_p46-r1'