Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 464
Alerts This Week
Warning Icon 1 464

Gentoo 201409-09 Critical: Bash Code Injection Vulnerability Found

gentoo
Calendar Grey September 25, 2014
Scroller Gentoo
Gentoo has issued a warning about a critical Bash code injection vulnerability. Update now using gentoo emerge --update =bash-<new_version> and reboot afterwards for safety
A parsing flaw related to functions and environments in Bash could allow attackers to inject code.

Summary

Stephane Chazelas reported that Bash incorrectly handles function definitions, allowing attackers to inject arbitrary code.

Resolution

All Bash 3.1 users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=app-shells/bash-3.1_p18"
All Bash 3.2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-shells/bash-3.2_p52"
All Bash 4.0 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-shells/bash-4.0_p39"
All Bash 4.1 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-shells/bash-4.1_p12"
All Bash 4.2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-shells/bash-4.2_p48"

References

[ 1 ] CVE-2014-6271 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-6271

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201409-09
style>.gentoo_availability{display:block;}

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.

Severity
critical
Lowest
Low
Medium
High
Critical

Severity: High
Title: Bash: Code Injection
Date: September 24, 2014
Bugs: #523592
ID: 201409-09

Synopsis

A parsing flaw related to functions and environments in Bash could allow attackers to inject code.

Background

Bash is the standard GNU Bourne Again SHell.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-shells/bash < 4.2_p48 *>= 3.1_p18 *>= 3.2_p52 *>= 4.0_p39 *>= 4.1_p12 >= 4.2_p48

Impact

===== A remote attacker could exploit this vulnerability to execute arbitrary commands even in restricted environments.

Workaround

There is no known workaround at this time.