- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200907-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
     Title: Python: Integer overflows
      Date: July 19, 2009
      Bugs: #246991
        ID: 200907-16

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple integer overflows in Python have an unspecified impact.

Background
==========

Python is an interpreted, interactive, object-oriented programming
language.

Affected packages
=================

-------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  dev-lang/python     < 2.5.4-r2                        >= 2.5.4-r2
                                                             *>= 2.4.6

Description
===========

Chris Evans reported multiple integer overflows in the expandtabs
method, as implemented by (1) the string_expandtabs function in
Objects/stringobject.c and (2) the unicode_expandtabs function in
Objects/unicodeobject.c.

Impact
======

A remote attacker could exploit these vulnerabilities in Python
applications or daemons that pass user-controlled input to vulnerable
functions. The security impact is currently unknown but may include the
execution of arbitrary code or a Denial of Service.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Python 2.5 users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/python-2.5.4-r2"

All Python 2.4 users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/python-2.4.6"

References
==========

[ 1 ] CVE-2008-5031
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5031

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200907-16.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 (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2009 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.

http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iQIcBAABCAAGBQJKY2JiAAoJECaaHo/OfoM5U8cP/1G5qyFNtPsfSGvLmchWKyFM
uuOO765Bb8NSSLUWSmzDnsRqQnK+rlGDLqf7HUVNpDKXw8hjNEGDRi+52uRDZxR4
uJsLEHtfGhf5OoakmTqEuLnxqAWsgQ6eStKsIMi0H03Q/O7AdgsRr04Rwit2sPfT
VC3RJtCkzjLzcAMNyCDidQLQMsT/K3geOzJYv5zlozlwYKySYXx2LHthXrD1bcYM
ss6JPuxMrK6K8mcFCm3Y0i/rvOwA6zMy8mokCx9f3ceBiLf9fjKfQQVjLr7O0Og/
WUOqbie7A9SMS822q7teL+9bE8Ge0sJ+YXgis2PQFy94iS1kYZYlyFQtWOVN6Wpx
7gD/c/j3Zl0phIlL+GU+El7NsDu47FOj3Z8aHVxJgfnkP6Gcr3/widTVWCoEDHxK
faWG6w+M4tFJROEhGaWnEgiMNJYuGa4G71mrZ7qkO+nsPWTkqZzD8xlc4Ia5hAG7
6m7wpp19+d4YQYKjhhL6VclKKyatMpQf8AFlBDbv5RDrY104y5jtujAraHz10jeq
RDU6mvOi0/XgDdBbHsNDQKQGvR9dOL2xwUAUEz2v2Rlhx1shviMCbBsIdvGAn4Up
xqONsnAUYQGffSqwscacVH/FwXXo0MDCpHSb72mXm2AbD//6hacAJLi4QWX+t8MU
hhDM8DsTaNq8AauxQ3+Y
=tLv0
-----END PGP SIGNATURE-----