GLSA 201612-39: Bash: Arbitrary code execution

Severity:normal
Title:Bash: Arbitrary code execution
Date:12/13/2016
Bugs: #594496
ID:201612-39

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 Architecture(s)
app-shells/bash < 4.3_p46-r1 >= 4.3_p46-r1 All supported architectures

Description

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.

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.

Resolution

All Bash users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-shells/bash-4.3_p46-r1"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201612-39.xml

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.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!