RHSA-2011:0491: Moderate: python security update

Published May 5, 2011
·
Updated

Python is an interpreted, interactive, object-oriented programminglanguage.A flaw was found in the Python urllib and urllib2 libraries where theywould not differentiate between different target URLs when handlingautomatic redirects. This caused Python applications using these modules tofollow any new URL that they understood, including the "file://" URL type.This could allow a remote server to force a local Python application toread a local file instead of the remote one, possibly exposing local filesthat were not meant to be exposed. (CVE-2011-1521)Multiple flaws were found in the Python audioop module. Supplying certaininputs could cause the audioop module to crash or, possibly, executearbitrary code. (CVE-2010-1634, CVE-2010-2089)A race condition was found in the way the Python smtpd module handled newconnections. A remote user could use this flaw to cause a Python scriptusing the smtpd module to terminate. (CVE-2010-3493)An information disclosure flaw was found in the way the PythonCGIHTTPServer module processed certain HTTP GET requests. A remote attackercould use a specially-crafted request to obtain the CGI script's sourcecode. (CVE-2011-1015)A buffer over-read flaw was found in the way the Python Expat parserhandled malformed UTF-8 sequences when processing XML files. Aspecially-crafted XML file could cause Python applications using the PythonExpat parser to crash while parsing the file. (CVE-2009-3720)This update makes Python use the system Expat library rather than its owninternal copy; therefore, users must have the version of Expat shipped withRHSA-2009:1625 installed, or a later version, to resolve the CVE-2009-3720issue.All Python users should upgrade to these updated packages, which containbackported patches to correct these issues.

Affected Software

10 affected componentsFixes available
redhat/python<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-devel<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-docs<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-tools<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/tkinter<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-devel<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-docs<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/python-tools<2.3.4-14.10.el4
2.3.4-14.10.el4
redhat/tkinter<2.3.4-14.10.el4
2.3.4-14.10.el4

Remediation

Event History

May 5, 2011
Advisory Published
via Red Hat·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of RHSA-2011:0491?

The severity of RHSA-2011:0491 is considered moderate due to issues with automatic URL redirection in Python libraries.

2

How do I fix RHSA-2011:0491?

To fix RHSA-2011:0491, upgrade the affected Python packages to version 2.3.4-14.10.el4 or later.

3

Which versions of Python are affected by RHSA-2011:0491?

RHSA-2011:0491 affects Python versions prior to 2.3.4-14.10.el4.

4

What libraries are involved in RHSA-2011:0491?

The libraries involved in RHSA-2011:0491 are urllib and urllib2 from the Python standard library.

5

What kind of applications are impacted by RHSA-2011:0491?

Applications that utilize Python for URL handling and automatic redirects are impacted by RHSA-2011:0491.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203