-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2009.1096
                     Moderate: python security update
                               28 July 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           python
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/ES/WS 3
                   Red Hat Enterprise Linux AS/ES/WS 4
                   Red Hat Enterprise Linux Server 5
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch
CVE Names:         CVE-2008-5031 CVE-2008-4864 CVE-2008-3144
                   CVE-2008-3143 CVE-2008-3142 CVE-2008-2315
                   CVE-2008-1887 CVE-2008-1721 CVE-2007-4965
                   CVE-2007-2052  

Reference:         ESB-2009.0031
                   AA-2008.0085
                   ESB-2008.1059
                   ESB-2008.0774
                   ESB-2008.0742
                   ESB-2008.0406
                   ESB-2007.0995

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2009-1176.html
   https://rhn.redhat.com/errata/RHSA-2009-1177.html
   https://rhn.redhat.com/errata/RHSA-2009-1178.html

Comment: This bulletin contains three (3) Red Hat Security Advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: python security update
Advisory ID:       RHSA-2009:1176-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1176.html
Issue date:        2009-07-27
CVE Names:         CVE-2007-2052 CVE-2007-4965 CVE-2008-1721 
                   CVE-2008-1887 CVE-2008-2315 CVE-2008-3142 
                   CVE-2008-3143 CVE-2008-3144 CVE-2008-4864 
                   CVE-2008-5031 
=====================================================================

1. Summary:

Updated python packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 5.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

3. Description:

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

When the assert() system call was disabled, an input sanitization flaw was
revealed in the Python string object implementation that led to a buffer
overflow. The missing check for negative size values meant the Python
memory allocator could allocate less memory than expected. This could
result in arbitrary code execution with the Python interpreter's
privileges. (CVE-2008-1887)

Multiple buffer and integer overflow flaws were found in the Python Unicode
string processing and in the Python Unicode and string object
implementations. An attacker could use these flaws to cause a denial of
service (Python application crash). (CVE-2008-3142, CVE-2008-5031)

Multiple integer overflow flaws were found in the Python imageop module. If
a Python application used the imageop module to process untrusted images,
it could cause the application to disclose sensitive information, crash or,
potentially, execute arbitrary code with the Python interpreter's
privileges. (CVE-2007-4965, CVE-2008-4864)

Multiple integer underflow and overflow flaws were found in the Python
snprintf() wrapper implementation. An attacker could use these flaws to
cause a denial of service (memory corruption). (CVE-2008-3144)

Multiple integer overflow flaws were found in various Python modules. An
attacker could use these flaws to cause a denial of service (Python
application crash). (CVE-2008-2315, CVE-2008-3143)

An integer signedness error, leading to a buffer overflow, was found
in the Python zlib extension module. If a Python application requested
the negative byte count be flushed for a decompression stream, it could
cause the application to crash or, potentially, execute arbitrary code
with the Python interpreter's privileges. (CVE-2008-1721)

A flaw was discovered in the strxfrm() function of the Python locale
module. Strings generated by this function were not properly
NULL-terminated, which could possibly cause disclosure of data stored in
the memory of a Python application using this function. (CVE-2007-2052)

Red Hat would like to thank David Remahl of the Apple Product Security team
for responsibly reporting the CVE-2008-2315 issue.

All Python users should upgrade to these updated packages, which contain
backported patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

235093 - CVE-2007-2052 python off-by-one locale.strxfrm() (possible memory disclosure)
295971 - CVE-2007-4965 python imageop module heap corruption
442005 - CVE-2008-1721 python: integer signedness error in the zlib extension module
443810 - CVE-2008-1887 python: PyString_FromStringAndSize does not check for negative size values
454990 - CVE-2008-3142 python: Multiple buffer overflows in unicode processing
455008 - CVE-2008-2315 python: Multiple integer overflows in python core
455013 - CVE-2008-3143 python: Multiple integer overflows discovered by Google
455018 - CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function
469656 - CVE-2008-4864 python: imageop module multiple integer overflows
470915 - CVE-2008-5031 python: stringobject, unicodeobject integer overflows

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/python-2.4.3-24.el5_3.6.src.rpm

i386:
python-2.4.3-24.el5_3.6.i386.rpm
python-debuginfo-2.4.3-24.el5_3.6.i386.rpm
python-tools-2.4.3-24.el5_3.6.i386.rpm
tkinter-2.4.3-24.el5_3.6.i386.rpm

x86_64:
python-2.4.3-24.el5_3.6.x86_64.rpm
python-debuginfo-2.4.3-24.el5_3.6.x86_64.rpm
python-tools-2.4.3-24.el5_3.6.x86_64.rpm
tkinter-2.4.3-24.el5_3.6.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/python-2.4.3-24.el5_3.6.src.rpm

i386:
python-debuginfo-2.4.3-24.el5_3.6.i386.rpm
python-devel-2.4.3-24.el5_3.6.i386.rpm

x86_64:
python-debuginfo-2.4.3-24.el5_3.6.i386.rpm
python-debuginfo-2.4.3-24.el5_3.6.x86_64.rpm
python-devel-2.4.3-24.el5_3.6.i386.rpm
python-devel-2.4.3-24.el5_3.6.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/python-2.4.3-24.el5_3.6.src.rpm

i386:
python-2.4.3-24.el5_3.6.i386.rpm
python-debuginfo-2.4.3-24.el5_3.6.i386.rpm
python-devel-2.4.3-24.el5_3.6.i386.rpm
python-tools-2.4.3-24.el5_3.6.i386.rpm
tkinter-2.4.3-24.el5_3.6.i386.rpm

ia64:
python-2.4.3-24.el5_3.6.ia64.rpm
python-debuginfo-2.4.3-24.el5_3.6.ia64.rpm
python-devel-2.4.3-24.el5_3.6.ia64.rpm
python-tools-2.4.3-24.el5_3.6.ia64.rpm
tkinter-2.4.3-24.el5_3.6.ia64.rpm

ppc:
python-2.4.3-24.el5_3.6.ppc.rpm
python-debuginfo-2.4.3-24.el5_3.6.ppc.rpm
python-debuginfo-2.4.3-24.el5_3.6.ppc64.rpm
python-devel-2.4.3-24.el5_3.6.ppc.rpm
python-devel-2.4.3-24.el5_3.6.ppc64.rpm
python-tools-2.4.3-24.el5_3.6.ppc.rpm
tkinter-2.4.3-24.el5_3.6.ppc.rpm

s390x:
python-2.4.3-24.el5_3.6.s390x.rpm
python-debuginfo-2.4.3-24.el5_3.6.s390.rpm
python-debuginfo-2.4.3-24.el5_3.6.s390x.rpm
python-devel-2.4.3-24.el5_3.6.s390.rpm
python-devel-2.4.3-24.el5_3.6.s390x.rpm
python-tools-2.4.3-24.el5_3.6.s390x.rpm
tkinter-2.4.3-24.el5_3.6.s390x.rpm

x86_64:
python-2.4.3-24.el5_3.6.x86_64.rpm
python-debuginfo-2.4.3-24.el5_3.6.i386.rpm
python-debuginfo-2.4.3-24.el5_3.6.x86_64.rpm
python-devel-2.4.3-24.el5_3.6.i386.rpm
python-devel-2.4.3-24.el5_3.6.x86_64.rpm
python-tools-2.4.3-24.el5_3.6.x86_64.rpm
tkinter-2.4.3-24.el5_3.6.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2052
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4965
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1721
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1887
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2315
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3142
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3143
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3144
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4864
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5031
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2009 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFKbYwvXlSAg2UNWIIRAqSnAJwIqfP8AFKHLT3nsa/DpasILxx6PwCeM7Sy
O+IpJin8qcW+vuUDj557fDM=
=oPYs
- -----END PGP SIGNATURE-----

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: python security update
Advisory ID:       RHSA-2009:1177-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1177.html
Issue date:        2009-07-27
CVE Names:         CVE-2008-1679 CVE-2008-1721 CVE-2008-1887 
                   CVE-2008-2315 CVE-2008-3142 CVE-2008-3143 
                   CVE-2008-3144 CVE-2008-4864 CVE-2008-5031 
=====================================================================

1. Summary:

Updated python packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 4.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Description:

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

When the assert() system call was disabled, an input sanitization flaw was
revealed in the Python string object implementation that led to a buffer
overflow. The missing check for negative size values meant the Python
memory allocator could allocate less memory than expected. This could
result in arbitrary code execution with the Python interpreter's
privileges. (CVE-2008-1887)

Multiple buffer and integer overflow flaws were found in the Python Unicode
string processing and in the Python Unicode and string object
implementations. An attacker could use these flaws to cause a denial of
service (Python application crash). (CVE-2008-3142, CVE-2008-5031)

Multiple integer overflow flaws were found in the Python imageop module. If
a Python application used the imageop module to process untrusted images,
it could cause the application to crash or, potentially, execute arbitrary
code with the Python interpreter's privileges. (CVE-2008-1679,
CVE-2008-4864)

Multiple integer underflow and overflow flaws were found in the Python
snprintf() wrapper implementation. An attacker could use these flaws to
cause a denial of service (memory corruption). (CVE-2008-3144)

Multiple integer overflow flaws were found in various Python modules. An
attacker could use these flaws to cause a denial of service (Python
application crash). (CVE-2008-2315, CVE-2008-3143)

An integer signedness error, leading to a buffer overflow, was found
in the Python zlib extension module. If a Python application requested
the negative byte count be flushed for a decompression stream, it could
cause the application to crash or, potentially, execute arbitrary code
with the Python interpreter's privileges. (CVE-2008-1721)

Red Hat would like to thank David Remahl of the Apple Product Security team
for responsibly reporting the CVE-2008-1679 and CVE-2008-2315 issues.

All Python users should upgrade to these updated packages, which contain
backported patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

441306 - CVE-2008-1679 python: imageop module integer overflows
442005 - CVE-2008-1721 python: integer signedness error in the zlib extension module
443810 - CVE-2008-1887 python: PyString_FromStringAndSize does not check for negative size values
454990 - CVE-2008-3142 python: Multiple buffer overflows in unicode processing
455008 - CVE-2008-2315 python: Multiple integer overflows in python core
455013 - CVE-2008-3143 python: Multiple integer overflows discovered by Google
455018 - CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function
469656 - CVE-2008-4864 python: imageop module multiple integer overflows
470915 - CVE-2008-5031 python: stringobject, unicodeobject integer overflows

6. Package List:

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/python-2.3.4-14.7.el4_8.2.src.rpm

i386:
python-2.3.4-14.7.el4_8.2.i386.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.i386.rpm
python-devel-2.3.4-14.7.el4_8.2.i386.rpm
python-docs-2.3.4-14.7.el4_8.2.i386.rpm
python-tools-2.3.4-14.7.el4_8.2.i386.rpm
tkinter-2.3.4-14.7.el4_8.2.i386.rpm

ia64:
python-2.3.4-14.7.el4_8.2.ia64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.ia64.rpm
python-devel-2.3.4-14.7.el4_8.2.ia64.rpm
python-docs-2.3.4-14.7.el4_8.2.ia64.rpm
python-tools-2.3.4-14.7.el4_8.2.ia64.rpm
tkinter-2.3.4-14.7.el4_8.2.ia64.rpm

ppc:
python-2.3.4-14.7.el4_8.2.ppc.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.ppc.rpm
python-devel-2.3.4-14.7.el4_8.2.ppc.rpm
python-docs-2.3.4-14.7.el4_8.2.ppc.rpm
python-tools-2.3.4-14.7.el4_8.2.ppc.rpm
tkinter-2.3.4-14.7.el4_8.2.ppc.rpm

s390:
python-2.3.4-14.7.el4_8.2.s390.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.s390.rpm
python-devel-2.3.4-14.7.el4_8.2.s390.rpm
python-docs-2.3.4-14.7.el4_8.2.s390.rpm
python-tools-2.3.4-14.7.el4_8.2.s390.rpm
tkinter-2.3.4-14.7.el4_8.2.s390.rpm

s390x:
python-2.3.4-14.7.el4_8.2.s390x.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.s390x.rpm
python-devel-2.3.4-14.7.el4_8.2.s390x.rpm
python-docs-2.3.4-14.7.el4_8.2.s390x.rpm
python-tools-2.3.4-14.7.el4_8.2.s390x.rpm
tkinter-2.3.4-14.7.el4_8.2.s390x.rpm

x86_64:
python-2.3.4-14.7.el4_8.2.x86_64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.x86_64.rpm
python-devel-2.3.4-14.7.el4_8.2.x86_64.rpm
python-docs-2.3.4-14.7.el4_8.2.x86_64.rpm
python-tools-2.3.4-14.7.el4_8.2.x86_64.rpm
tkinter-2.3.4-14.7.el4_8.2.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/python-2.3.4-14.7.el4_8.2.src.rpm

i386:
python-2.3.4-14.7.el4_8.2.i386.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.i386.rpm
python-devel-2.3.4-14.7.el4_8.2.i386.rpm
python-docs-2.3.4-14.7.el4_8.2.i386.rpm
python-tools-2.3.4-14.7.el4_8.2.i386.rpm
tkinter-2.3.4-14.7.el4_8.2.i386.rpm

x86_64:
python-2.3.4-14.7.el4_8.2.x86_64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.x86_64.rpm
python-devel-2.3.4-14.7.el4_8.2.x86_64.rpm
python-docs-2.3.4-14.7.el4_8.2.x86_64.rpm
python-tools-2.3.4-14.7.el4_8.2.x86_64.rpm
tkinter-2.3.4-14.7.el4_8.2.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/python-2.3.4-14.7.el4_8.2.src.rpm

i386:
python-2.3.4-14.7.el4_8.2.i386.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.i386.rpm
python-devel-2.3.4-14.7.el4_8.2.i386.rpm
python-docs-2.3.4-14.7.el4_8.2.i386.rpm
python-tools-2.3.4-14.7.el4_8.2.i386.rpm
tkinter-2.3.4-14.7.el4_8.2.i386.rpm

ia64:
python-2.3.4-14.7.el4_8.2.ia64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.ia64.rpm
python-devel-2.3.4-14.7.el4_8.2.ia64.rpm
python-docs-2.3.4-14.7.el4_8.2.ia64.rpm
python-tools-2.3.4-14.7.el4_8.2.ia64.rpm
tkinter-2.3.4-14.7.el4_8.2.ia64.rpm

x86_64:
python-2.3.4-14.7.el4_8.2.x86_64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.x86_64.rpm
python-devel-2.3.4-14.7.el4_8.2.x86_64.rpm
python-docs-2.3.4-14.7.el4_8.2.x86_64.rpm
python-tools-2.3.4-14.7.el4_8.2.x86_64.rpm
tkinter-2.3.4-14.7.el4_8.2.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/python-2.3.4-14.7.el4_8.2.src.rpm

i386:
python-2.3.4-14.7.el4_8.2.i386.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.i386.rpm
python-devel-2.3.4-14.7.el4_8.2.i386.rpm
python-docs-2.3.4-14.7.el4_8.2.i386.rpm
python-tools-2.3.4-14.7.el4_8.2.i386.rpm
tkinter-2.3.4-14.7.el4_8.2.i386.rpm

ia64:
python-2.3.4-14.7.el4_8.2.ia64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.ia64.rpm
python-devel-2.3.4-14.7.el4_8.2.ia64.rpm
python-docs-2.3.4-14.7.el4_8.2.ia64.rpm
python-tools-2.3.4-14.7.el4_8.2.ia64.rpm
tkinter-2.3.4-14.7.el4_8.2.ia64.rpm

x86_64:
python-2.3.4-14.7.el4_8.2.x86_64.rpm
python-debuginfo-2.3.4-14.7.el4_8.2.x86_64.rpm
python-devel-2.3.4-14.7.el4_8.2.x86_64.rpm
python-docs-2.3.4-14.7.el4_8.2.x86_64.rpm
python-tools-2.3.4-14.7.el4_8.2.x86_64.rpm
tkinter-2.3.4-14.7.el4_8.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1679
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1721
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1887
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2315
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3142
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3143
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3144
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4864
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5031
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2009 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFKbYxQXlSAg2UNWIIRAm5iAKCOsespzDcQHy0owl12JEemOpRPxwCgm/Iw
oPv/jBa+fQ/3pog/8tKEeXc=
=feg9
- -----END PGP SIGNATURE-----

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: python security update
Advisory ID:       RHSA-2009:1178-02
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2009-1178.html
Issue date:        2009-07-27
CVE Names:         CVE-2008-1679 CVE-2008-1887 CVE-2008-2315 
                   CVE-2008-3142 CVE-2008-3143 CVE-2008-3144 
                   CVE-2008-4864 CVE-2008-5031 
=====================================================================

1. Summary:

Updated python packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 3.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Description:

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

When the assert() system call was disabled, an input sanitization flaw was
revealed in the Python string object implementation that led to a buffer
overflow. The missing check for negative size values meant the Python
memory allocator could allocate less memory than expected. This could
result in arbitrary code execution with the Python interpreter's
privileges. (CVE-2008-1887)

Multiple buffer and integer overflow flaws were found in the Python Unicode
string processing and in the Python Unicode and string object
implementations. An attacker could use these flaws to cause a denial of
service (Python application crash). (CVE-2008-3142, CVE-2008-5031)

Multiple integer overflow flaws were found in the Python imageop module. If
a Python application used the imageop module to process untrusted images,
it could cause the application to crash or, potentially, execute arbitrary
code with the Python interpreter's privileges. (CVE-2008-1679,
CVE-2008-4864)

Multiple integer underflow and overflow flaws were found in the Python
snprintf() wrapper implementation. An attacker could use these flaws to
cause a denial of service (memory corruption). (CVE-2008-3144)

Multiple integer overflow flaws were found in various Python modules. An
attacker could use these flaws to cause a denial of service (Python
application crash). (CVE-2008-2315, CVE-2008-3143)

Red Hat would like to thank David Remahl of the Apple Product Security team
for responsibly reporting the CVE-2008-1679 and CVE-2008-2315 issues.

All Python users should upgrade to these updated packages, which contain
backported patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

441306 - CVE-2008-1679 python: imageop module integer overflows
443810 - CVE-2008-1887 python: PyString_FromStringAndSize does not check for negative size values
454990 - CVE-2008-3142 python: Multiple buffer overflows in unicode processing
455008 - CVE-2008-2315 python: Multiple integer overflows in python core
455013 - CVE-2008-3143 python: Multiple integer overflows discovered by Google
455018 - CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function
469656 - CVE-2008-4864 python: imageop module multiple integer overflows
470915 - CVE-2008-5031 python: stringobject, unicodeobject integer overflows

6. Package List:

Red Hat Enterprise Linux AS version 3:

Source:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/python-2.2.3-6.11.src.rpm

i386:
python-2.2.3-6.11.i386.rpm
python-debuginfo-2.2.3-6.11.i386.rpm
python-devel-2.2.3-6.11.i386.rpm
python-tools-2.2.3-6.11.i386.rpm
tkinter-2.2.3-6.11.i386.rpm

ia64:
python-2.2.3-6.11.ia64.rpm
python-debuginfo-2.2.3-6.11.ia64.rpm
python-devel-2.2.3-6.11.ia64.rpm
python-tools-2.2.3-6.11.ia64.rpm
tkinter-2.2.3-6.11.ia64.rpm

ppc:
python-2.2.3-6.11.ppc.rpm
python-debuginfo-2.2.3-6.11.ppc.rpm
python-devel-2.2.3-6.11.ppc.rpm
python-tools-2.2.3-6.11.ppc.rpm
tkinter-2.2.3-6.11.ppc.rpm

s390:
python-2.2.3-6.11.s390.rpm
python-debuginfo-2.2.3-6.11.s390.rpm
python-devel-2.2.3-6.11.s390.rpm
python-tools-2.2.3-6.11.s390.rpm
tkinter-2.2.3-6.11.s390.rpm

s390x:
python-2.2.3-6.11.s390x.rpm
python-debuginfo-2.2.3-6.11.s390x.rpm
python-devel-2.2.3-6.11.s390x.rpm
python-tools-2.2.3-6.11.s390x.rpm
tkinter-2.2.3-6.11.s390x.rpm

x86_64:
python-2.2.3-6.11.x86_64.rpm
python-debuginfo-2.2.3-6.11.x86_64.rpm
python-devel-2.2.3-6.11.x86_64.rpm
python-tools-2.2.3-6.11.x86_64.rpm
tkinter-2.2.3-6.11.x86_64.rpm

Red Hat Desktop version 3:

Source:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/python-2.2.3-6.11.src.rpm

i386:
python-2.2.3-6.11.i386.rpm
python-debuginfo-2.2.3-6.11.i386.rpm
python-devel-2.2.3-6.11.i386.rpm
python-tools-2.2.3-6.11.i386.rpm
tkinter-2.2.3-6.11.i386.rpm

x86_64:
python-2.2.3-6.11.x86_64.rpm
python-debuginfo-2.2.3-6.11.x86_64.rpm
python-devel-2.2.3-6.11.x86_64.rpm
python-tools-2.2.3-6.11.x86_64.rpm
tkinter-2.2.3-6.11.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

Source:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/python-2.2.3-6.11.src.rpm

i386:
python-2.2.3-6.11.i386.rpm
python-debuginfo-2.2.3-6.11.i386.rpm
python-devel-2.2.3-6.11.i386.rpm
python-tools-2.2.3-6.11.i386.rpm
tkinter-2.2.3-6.11.i386.rpm

ia64:
python-2.2.3-6.11.ia64.rpm
python-debuginfo-2.2.3-6.11.ia64.rpm
python-devel-2.2.3-6.11.ia64.rpm
python-tools-2.2.3-6.11.ia64.rpm
tkinter-2.2.3-6.11.ia64.rpm

x86_64:
python-2.2.3-6.11.x86_64.rpm
python-debuginfo-2.2.3-6.11.x86_64.rpm
python-devel-2.2.3-6.11.x86_64.rpm
python-tools-2.2.3-6.11.x86_64.rpm
tkinter-2.2.3-6.11.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

Source:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/python-2.2.3-6.11.src.rpm

i386:
python-2.2.3-6.11.i386.rpm
python-debuginfo-2.2.3-6.11.i386.rpm
python-devel-2.2.3-6.11.i386.rpm
python-tools-2.2.3-6.11.i386.rpm
tkinter-2.2.3-6.11.i386.rpm

ia64:
python-2.2.3-6.11.ia64.rpm
python-debuginfo-2.2.3-6.11.ia64.rpm
python-devel-2.2.3-6.11.ia64.rpm
python-tools-2.2.3-6.11.ia64.rpm
tkinter-2.2.3-6.11.ia64.rpm

x86_64:
python-2.2.3-6.11.x86_64.rpm
python-debuginfo-2.2.3-6.11.x86_64.rpm
python-devel-2.2.3-6.11.x86_64.rpm
python-tools-2.2.3-6.11.x86_64.rpm
tkinter-2.2.3-6.11.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1679
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1887
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2315
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3142
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3143
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3144
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4864
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5031
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2009 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFKbYxlXlSAg2UNWIIRAvzOAKDDzUCHcrgwWchAMcGg6JKQdt3F+ACfVhSK
lj7TkpspKqtNeqcRopBcAWE=
=TXrO
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFKbk8PNVH5XJJInbgRAqI/AJ9Q8pPKZy8Z6t7Gz74KfQVP+n6/DwCePzNH
j0QUOJIFn+ZOwLKUhSZptbk=
=3yj4
-----END PGP SIGNATURE-----