RHEL 6 : python (RHSA-2011:0554)

This script is Copyright (C) 2011-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Updated python packages that fix three security issues, several bugs,
and add various enhancements are now available for Red Hat Enterprise
Linux 6.

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.

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)

This erratum also upgrades Python to upstream version 2.6.6, and
includes a number of bug fixes and enhancements. Documentation for
these bug fixes and enhancements is available from the Technical Notes
document, linked to in the References section.

All users of Python are advised to upgrade to these updated packages,
which correct these issues, and fix the bugs and add the enhancements
noted in the Technical Notes.

See also :

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
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/
http://www.python.org/download/releases/2.6.6/NEWS.txt
http://rhn.redhat.com/errata/RHSA-2011-0554.html

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 6.4
(CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P)
CVSS Temporal Score : 5.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Red Hat Local Security Checks

Nessus Plugin ID: 54592 ()

Bugtraq ID: 44533
46541
47024

CVE ID: CVE-2010-3493
CVE-2011-1015
CVE-2011-1521