Bash: Multiple vulnerabilities — GLSA 201210-05

Two vulnerabilities have been found in Bash, the worst of which may allow execution of arbitrary code.

Affected packages

app-shells/bash on all architectures
Affected versions < 4.2_p37
Unaffected versions >= 4.2_p37

Background

Bash is the standard GNU Bourne Again SHell.

Description

Two vulnerabilities have been found in Bash:

  • Bash example scripts do not handle temporary files securely (CVE-2008-5374).
  • Improper bounds checking in Bash could cause a stack-based buffer overflow (CVE-2012-3410).

Impact

A remote attacker could entice a user to open a specially crafted Bash script, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition of the Bash executable.

A local attacker may be able to perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application or bypass shell access restrictions.

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.2_p37"
 

References

Release date
October 20, 2012

Latest revision
October 20, 2012: 1

Severity
normal

Exploitable
local

Bugzilla entries