Gentoo Logo

Bash: Multiple vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201210-05 / bash
Release Date October 20, 2012
Latest Revision October 20, 2012: 1
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-shells/bash < 4.2_p37 >= 4.2_p37 All supported architectures

Related bugreports: #251319, #431850

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Bash users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=app-shells/bash-4.2_p37"

4.  References



Print

Page updated October 20, 2012

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.