RedHat: RHSA-2011-0491:01 Moderate: python security update
Summary
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.
Summary
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
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://access.redhat.com/errata/RHSA-2009:1625.html
Package List
Red Hat Enterprise Linux AS version 4:
Source:
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:
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:
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:
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
Topic
Updated python packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 4.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.
Topic
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
Bugs Fixed
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)