copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2011.0502 - [RedHat] python: Multiple vulnerabilities

Date: 06 May 2011
References: ESB-2009.1604  ESB-2010.0078  ESB-2010.0625  ESB-2010.0997  ESB-2011.0539  ESB-2011.0585  ESB-2011.1034  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2011.0502
                     Moderate: python security update
                                6 May 2011

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

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

Product:           python
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux WS/Desktop 5
                   Red Hat Enterprise Linux Server 5
                   Red Hat Enterprise Linux Desktop 4
                   Red Hat Enterprise Linux AS/ES/WS 4
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-1521 CVE-2011-1015 CVE-2010-3493
                   CVE-2010-2089 CVE-2010-1634 CVE-2009-3720

Reference:         ESB-2010.0997
                   ESB-2010.0625
                   ESB-2010.0078
                   ESB-2009.1604

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2011-0491.html
   https://rhn.redhat.com/errata/RHSA-2011-0492.html

Comment: This bulletin contains two (2) 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-2011:0491-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-0491.html
Issue date:        2011-05-05
CVE Names:         CVE-2009-3720 CVE-2010-1634 CVE-2010-2089 
                   CVE-2010-3493 CVE-2011-1015 CVE-2011-1521 
=====================================================================

1. Summary:

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

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

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.

A flaw was found in the Python urllib and urllib2 libraries where they
would not differentiate between different target URLs when handling
automatic redirects. This caused Python applications using these modules to
follow any new URL that they understood, including the "file://" URL type.
This could allow a remote server to force a local Python application to
read a local file instead of the remote one, possibly exposing local files
that were not meant to be exposed. (CVE-2011-1521)

Multiple flaws were found in the Python audioop module. Supplying certain
inputs could cause the audioop module to crash or, possibly, execute
arbitrary code. (CVE-2010-1634, CVE-2010-2089)

A race condition was found in the way the Python smtpd module handled new
connections. A remote user could use this flaw to cause a Python script
using the smtpd module to terminate. (CVE-2010-3493)

An information disclosure flaw was found in the way the Python
CGIHTTPServer module processed certain HTTP GET requests. A remote attacker
could use a specially-crafted request to obtain the CGI script's source
code. (CVE-2011-1015)

A buffer over-read flaw was found in the way the Python Expat parser
handled malformed UTF-8 sequences when processing XML files. A
specially-crafted XML file could cause Python applications using the Python
Expat parser to crash while parsing the file. (CVE-2009-3720)

This update makes Python use the system Expat library rather than its own
internal copy; therefore, users must have the version of Expat shipped with
RHSA-2009:1625 installed, or a later version, to resolve the CVE-2009-3720
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 all previously-released errata
relevant to your system have been applied.

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

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

531697 - CVE-2009-3720 expat: buffer over-read and crash on XML with malformed UTF-8 sequences
590690 - CVE-2010-1634 python: audioop: incorrect integer overflow checks
598197 - CVE-2010-2089 Python: Memory corruption in audioop module
632200 - CVE-2010-3493 Python: SMTP proxy RFC 2821 module DoS (uncaught exception) (Issue #9129)
680094 - CVE-2011-1015 python (CGIHTTPServer): CGI script source code disclosure
690560 - CVE-2011-1521 python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes (Issue #11662)

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.10.el4.src.rpm

i386:
python-2.3.4-14.10.el4.i386.rpm
python-debuginfo-2.3.4-14.10.el4.i386.rpm
python-devel-2.3.4-14.10.el4.i386.rpm
python-docs-2.3.4-14.10.el4.i386.rpm
python-tools-2.3.4-14.10.el4.i386.rpm
tkinter-2.3.4-14.10.el4.i386.rpm

ia64:
python-2.3.4-14.10.el4.ia64.rpm
python-debuginfo-2.3.4-14.10.el4.ia64.rpm
python-devel-2.3.4-14.10.el4.ia64.rpm
python-docs-2.3.4-14.10.el4.ia64.rpm
python-tools-2.3.4-14.10.el4.ia64.rpm
tkinter-2.3.4-14.10.el4.ia64.rpm

ppc:
python-2.3.4-14.10.el4.ppc.rpm
python-debuginfo-2.3.4-14.10.el4.ppc.rpm
python-devel-2.3.4-14.10.el4.ppc.rpm
python-docs-2.3.4-14.10.el4.ppc.rpm
python-tools-2.3.4-14.10.el4.ppc.rpm
tkinter-2.3.4-14.10.el4.ppc.rpm

s390:
python-2.3.4-14.10.el4.s390.rpm
python-debuginfo-2.3.4-14.10.el4.s390.rpm
python-devel-2.3.4-14.10.el4.s390.rpm
python-docs-2.3.4-14.10.el4.s390.rpm
python-tools-2.3.4-14.10.el4.s390.rpm
tkinter-2.3.4-14.10.el4.s390.rpm

s390x:
python-2.3.4-14.10.el4.s390x.rpm
python-debuginfo-2.3.4-14.10.el4.s390x.rpm
python-devel-2.3.4-14.10.el4.s390x.rpm
python-docs-2.3.4-14.10.el4.s390x.rpm
python-tools-2.3.4-14.10.el4.s390x.rpm
tkinter-2.3.4-14.10.el4.s390x.rpm

x86_64:
python-2.3.4-14.10.el4.x86_64.rpm
python-debuginfo-2.3.4-14.10.el4.x86_64.rpm
python-devel-2.3.4-14.10.el4.x86_64.rpm
python-docs-2.3.4-14.10.el4.x86_64.rpm
python-tools-2.3.4-14.10.el4.x86_64.rpm
tkinter-2.3.4-14.10.el4.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.10.el4.src.rpm

i386:
python-2.3.4-14.10.el4.i386.rpm
python-debuginfo-2.3.4-14.10.el4.i386.rpm
python-devel-2.3.4-14.10.el4.i386.rpm
python-docs-2.3.4-14.10.el4.i386.rpm
python-tools-2.3.4-14.10.el4.i386.rpm
tkinter-2.3.4-14.10.el4.i386.rpm

x86_64:
python-2.3.4-14.10.el4.x86_64.rpm
python-debuginfo-2.3.4-14.10.el4.x86_64.rpm
python-devel-2.3.4-14.10.el4.x86_64.rpm
python-docs-2.3.4-14.10.el4.x86_64.rpm
python-tools-2.3.4-14.10.el4.x86_64.rpm
tkinter-2.3.4-14.10.el4.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.10.el4.src.rpm

i386:
python-2.3.4-14.10.el4.i386.rpm
python-debuginfo-2.3.4-14.10.el4.i386.rpm
python-devel-2.3.4-14.10.el4.i386.rpm
python-docs-2.3.4-14.10.el4.i386.rpm
python-tools-2.3.4-14.10.el4.i386.rpm
tkinter-2.3.4-14.10.el4.i386.rpm

ia64:
python-2.3.4-14.10.el4.ia64.rpm
python-debuginfo-2.3.4-14.10.el4.ia64.rpm
python-devel-2.3.4-14.10.el4.ia64.rpm
python-docs-2.3.4-14.10.el4.ia64.rpm
python-tools-2.3.4-14.10.el4.ia64.rpm
tkinter-2.3.4-14.10.el4.ia64.rpm

x86_64:
python-2.3.4-14.10.el4.x86_64.rpm
python-debuginfo-2.3.4-14.10.el4.x86_64.rpm
python-devel-2.3.4-14.10.el4.x86_64.rpm
python-docs-2.3.4-14.10.el4.x86_64.rpm
python-tools-2.3.4-14.10.el4.x86_64.rpm
tkinter-2.3.4-14.10.el4.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.10.el4.src.rpm

i386:
python-2.3.4-14.10.el4.i386.rpm
python-debuginfo-2.3.4-14.10.el4.i386.rpm
python-devel-2.3.4-14.10.el4.i386.rpm
python-docs-2.3.4-14.10.el4.i386.rpm
python-tools-2.3.4-14.10.el4.i386.rpm
tkinter-2.3.4-14.10.el4.i386.rpm

ia64:
python-2.3.4-14.10.el4.ia64.rpm
python-debuginfo-2.3.4-14.10.el4.ia64.rpm
python-devel-2.3.4-14.10.el4.ia64.rpm
python-docs-2.3.4-14.10.el4.ia64.rpm
python-tools-2.3.4-14.10.el4.ia64.rpm
tkinter-2.3.4-14.10.el4.ia64.rpm

x86_64:
python-2.3.4-14.10.el4.x86_64.rpm
python-debuginfo-2.3.4-14.10.el4.x86_64.rpm
python-devel-2.3.4-14.10.el4.x86_64.rpm
python-docs-2.3.4-14.10.el4.x86_64.rpm
python-tools-2.3.4-14.10.el4.x86_64.rpm
tkinter-2.3.4-14.10.el4.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-3720.html
https://www.redhat.com/security/data/cve/CVE-2010-1634.html
https://www.redhat.com/security/data/cve/CVE-2010-2089.html
https://www.redhat.com/security/data/cve/CVE-2010-3493.html
https://www.redhat.com/security/data/cve/CVE-2011-1015.html
https://www.redhat.com/security/data/cve/CVE-2011-1521.html
https://access.redhat.com/security/updates/classification/#moderate
https://rhn.redhat.com/errata/RHSA-2009-1625.html

8. Contact:

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

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

iD8DBQFNwvM+XlSAg2UNWIIRAq7HAKCHohaxsiokdXmRqf1KKB5pY1r2oACgrDFp
UiLsKiKxFiUvYxByQkPv/zY=
=BOUi
- -----END PGP SIGNATURE-----




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

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

Synopsis:          Moderate: python security update
Advisory ID:       RHSA-2011:0492-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2011-0492.html
Issue date:        2011-05-05
CVE Names:         CVE-2009-3720 CVE-2010-3493 CVE-2011-1015 
                   CVE-2011-1521 
=====================================================================

1. Summary:

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

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

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

3. Description:

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

A flaw was found in the Python urllib and urllib2 libraries where they
would not differentiate between different target URLs when handling
automatic redirects. This caused Python applications using these modules to
follow any new URL that they understood, including the "file://" URL type.
This could allow a remote server to force a local Python application to
read a local file instead of the remote one, possibly exposing local files
that were not meant to be exposed. (CVE-2011-1521)

A race condition was found in the way the Python smtpd module handled new
connections. A remote user could use this flaw to cause a Python script
using the smtpd module to terminate. (CVE-2010-3493)

An information disclosure flaw was found in the way the Python
CGIHTTPServer module processed certain HTTP GET requests. A remote attacker
could use a specially-crafted request to obtain the CGI script's source
code. (CVE-2011-1015)

A buffer over-read flaw was found in the way the Python Expat parser
handled malformed UTF-8 sequences when processing XML files. A
specially-crafted XML file could cause Python applications using the Python
Expat parser to crash while parsing the file. (CVE-2009-3720)

This update makes Python use the system Expat library rather than its own
internal copy; therefore, users must have the version of Expat shipped with
RHSA-2009:1625 installed, or a later version, to resolve the CVE-2009-3720
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 all previously-released errata
relevant to your system have been applied.

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

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

531697 - CVE-2009-3720 expat: buffer over-read and crash on XML with malformed UTF-8 sequences
632200 - CVE-2010-3493 Python: SMTP proxy RFC 2821 module DoS (uncaught exception) (Issue #9129)
680094 - CVE-2011-1015 python (CGIHTTPServer): CGI script source code disclosure
690560 - CVE-2011-1521 python (urllib, urllib2): Improper management of ftp:// and file:// URL schemes (Issue #11662)

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-44.el5.src.rpm

i386:
python-2.4.3-44.el5.i386.rpm
python-debuginfo-2.4.3-44.el5.i386.rpm
python-libs-2.4.3-44.el5.i386.rpm
python-tools-2.4.3-44.el5.i386.rpm
tkinter-2.4.3-44.el5.i386.rpm

x86_64:
python-2.4.3-44.el5.x86_64.rpm
python-debuginfo-2.4.3-44.el5.x86_64.rpm
python-libs-2.4.3-44.el5.x86_64.rpm
python-tools-2.4.3-44.el5.x86_64.rpm
tkinter-2.4.3-44.el5.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-44.el5.src.rpm

i386:
python-debuginfo-2.4.3-44.el5.i386.rpm
python-devel-2.4.3-44.el5.i386.rpm

x86_64:
python-debuginfo-2.4.3-44.el5.i386.rpm
python-debuginfo-2.4.3-44.el5.x86_64.rpm
python-devel-2.4.3-44.el5.i386.rpm
python-devel-2.4.3-44.el5.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-44.el5.src.rpm

i386:
python-2.4.3-44.el5.i386.rpm
python-debuginfo-2.4.3-44.el5.i386.rpm
python-devel-2.4.3-44.el5.i386.rpm
python-libs-2.4.3-44.el5.i386.rpm
python-tools-2.4.3-44.el5.i386.rpm
tkinter-2.4.3-44.el5.i386.rpm

ia64:
python-2.4.3-44.el5.ia64.rpm
python-debuginfo-2.4.3-44.el5.i386.rpm
python-debuginfo-2.4.3-44.el5.ia64.rpm
python-devel-2.4.3-44.el5.ia64.rpm
python-libs-2.4.3-44.el5.i386.rpm
python-libs-2.4.3-44.el5.ia64.rpm
python-tools-2.4.3-44.el5.ia64.rpm
tkinter-2.4.3-44.el5.ia64.rpm

ppc:
python-2.4.3-44.el5.ppc.rpm
python-debuginfo-2.4.3-44.el5.ppc.rpm
python-debuginfo-2.4.3-44.el5.ppc64.rpm
python-devel-2.4.3-44.el5.ppc.rpm
python-devel-2.4.3-44.el5.ppc64.rpm
python-libs-2.4.3-44.el5.ppc.rpm
python-libs-2.4.3-44.el5.ppc64.rpm
python-tools-2.4.3-44.el5.ppc.rpm
tkinter-2.4.3-44.el5.ppc.rpm

s390x:
python-2.4.3-44.el5.s390x.rpm
python-debuginfo-2.4.3-44.el5.s390.rpm
python-debuginfo-2.4.3-44.el5.s390x.rpm
python-devel-2.4.3-44.el5.s390.rpm
python-devel-2.4.3-44.el5.s390x.rpm
python-libs-2.4.3-44.el5.s390x.rpm
python-tools-2.4.3-44.el5.s390x.rpm
tkinter-2.4.3-44.el5.s390x.rpm

x86_64:
python-2.4.3-44.el5.x86_64.rpm
python-debuginfo-2.4.3-44.el5.i386.rpm
python-debuginfo-2.4.3-44.el5.x86_64.rpm
python-devel-2.4.3-44.el5.i386.rpm
python-devel-2.4.3-44.el5.x86_64.rpm
python-libs-2.4.3-44.el5.x86_64.rpm
python-tools-2.4.3-44.el5.x86_64.rpm
tkinter-2.4.3-44.el5.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-3720.html
https://www.redhat.com/security/data/cve/CVE-2010-3493.html
https://www.redhat.com/security/data/cve/CVE-2011-1015.html
https://www.redhat.com/security/data/cve/CVE-2011-1521.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

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

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

iD8DBQFNwvN+XlSAg2UNWIIRAoG3AKCo9/tfGUpgZzr0yWUXA52REQq5XACfaOQe
M56lJoO4S4Bvv8hZiCqh2S8=
=/pqR
- -----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

===========================================================================
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: https://www.auscert.org.au/1967

iD8DBQFNw1yT/iFOrG6YcBERAlnxAKCxu9+rPw7gTcpaWM/52+TvEQJF+ACgpfC2
6/2uWcs2LBHdt1oLFM22QhI=
=NXH5
-----END PGP SIGNATURE-----