Products & Services
Support

Product Categories


Popular Downloads


Manage Software

How to Buy

For Home

Linksys Products Store
Linksys is now part of Belkin
Products for everyone

All Ordering Options

Training & Events Partners
Guest

Vulnerability Alert

Python Hash Collisions Denial of Service Vulnerability

 
Threat Type:CWE-399: Resource Management Errors
IntelliShield ID:26182
Version:6
First Published:2012 June 19 17:10 GMT
Last Published:2013 October 24 17:25 GMT
Port: Not available
CVE:CVE-2012-1150
BugTraq ID:51239
Urgency:Unlikely Use
Credibility:Confirmed
Severity:Mild Damage
CVSS Base:5.0 CVSS Calculator
CVSS Version 2.0
CVSS Temporal:3.7
 
 
Version Summary:Apple has released a security advisory and updated software to address the Python hash collisions denial of service vulnerability.
 
 
Description
Python contains a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on a targeted system.

The vulnerability is due to improper handling of the HTTP POST request by the affected software. An unauthenticated, remote attacker could exploit the vulnerability by submitting multiple HTTP POST requests to the affected software. Processing the malicious requests could cause the application to consume excessive CPU resources, resulting in a DoS condition.

Python has confirmed the vulnerability and updated software is available.
 
Warning Indicators
The following products are vulnerable:
  • Python versions prior to 2.6.8
  • Python versions prior to 2.7.3
  • Python versions prior to 3.1.5
  • Python versions prior to 3.2.3
 
IntelliShield Analysis
To exploit this vulnerability, the attacker would need to send crafted requests to the targeted system. To achieve this objective, the attacker may need access to trusted, internal networks. This access requirement decreases the likelihood of a successful exploit.
 
Vendor Announcements
Python has released a security advisory at the following link: Issue 13703

Apple has released a security advisory at the following link: HT6011

MontaVista Software has released a changelog for registered users on June 26, 2013, at the following link: MontaVista Security Fixes

Oracle has released a security advisory at the following link: Multiple vulnerabilities in Python

Red Hat has released security advisories at the following links: RHSA-2012:0744 and RHSA-2012:0745

VMware has released a security advisory at the following link: VMSA-2012-0016
 
Impact
An unauthenticated, remote attacker could exploit the vulnerability to cause the Python server to consume excessive CPU resources, resulting in a DoS condition on the system.
 
Technical Information
The vulnerability is in the implementation of associative arrays in the code that handles the hashing functionality in the affected software. While processing the HTTP POST request, the affected software fails to perform sufficient validation of user-supplied input parameters. These parameters are used as keys when inserting hash function data to an array, and processing multiple key values may trigger a hash function collision.

An unauthenticated, remote attacker could exploit the vulnerability by transmitting specially crafted HTTP POST requests that are designed to supply a large number of input requests to the affected application. Processing the malicious requests could trigger hash function collisions and consume excessive CPU resources, resulting in a DoS condition on the system.
 
Safeguards
Administrators are advised to apply the appropriate updates.

Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

Administrators are advised to allow only trusted users to have network access.

Administrators are advised to monitor affected systems.
 
Patches/Software
Python has released an updated version at the following link:
Python 2.6.8 or later
Python 2.7.3 or later
Python 3.1.5 or later
Python 3.2.3 or later
Apple has released updated software at the following link: OS X Mavericks 10.9

CentOS packages can be updated using the up2date or yum command.

MontaVista Software has released updated software for registered users at the following links:

MontaVista Linux 6
CGE 6.0

Oracle has released patches for registered users at the following links:
SPARC
Solaris 10 with patch 143506-06 or later

Intel
Solaris 10 with patch 143507-06 or later

Solaris 11.1
Red Hat packages can be updated using the up2date or yum command.

VMware has released updated software at the following links:

ESX 4.1
ESX410-201211407-SG

ESX service console Python packages
python-2.4.3-46.el5_8.2.x86_64
python-libs-2.4.3-46.el5_8.2.x86_64

 
Alert History
 

Version 5, June 27, 2013, 2:19 PM: MontaVista Software has released a changelog and updated software to address the Python hash collisions denial of service vulnerability.

Version 4, April 12, 2013, 2:54 PM: Oracle has released an additional security notification and patches to address the Python hash collisions denial of service vulnerability.

Version 3, November 19, 2012, 9:22 PM: VMware has released a security advisory and updated software to address the Python hash collisions denial of service vulnerability.

Version 2, August 8, 2012, 5:22 AM: Oracle has released a security advisory and patches to address the Python hash collisions denial of service vulnerability.

Version 1, June 19, 2012, 1:10 PM: Python contains a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service condition. Updates are available.



Product Sets
 
The security vulnerability applies to the following combinations of products.

Primary Products:
Python.orgPython 2.6 .0, .1, .2, .3, .4, .5, .6, .7 | 2.7 .0, .1, .2 | 3.1 .0, .1, .2, .3, .4 | 3.2 .0, .1, .2

Associated Products:
AppleMac OS X 10.7 Base | 10.7.1 Base | 10.7.2 Base | 10.7.3 Base | 10.7.4 Base | 10.7.5 Base | 10.8 Base | 10.8.1 Base | 10.8.2 Base | 10.8.3 Base | 10.8.4 Base | 10.8.5 Base
CentOS ProjectCentOS 5 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64, .3 i386, .3 x86_64, .4 i386, .4 x86_64, .5 i386, .5 x86_64 | 6 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64
MontaVistaMontaVista Linux 6 Base | CGE 6.0
Oracle CorporationSolaris Express 11 2010.11
Oracle CorporationSolaris 11.1 Base
Red Hat, Inc.Red Hat Enterprise Linux 5 IA-32, IA-64, PPC, ppc64, s390, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server AUS 6.2 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Desktop 5 IA-32, x86_64 | 6 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Desktop Workstation 5 IA-32, x86-64
Red Hat, Inc.Red Hat Enterprise Linux HPC Node 6 x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server 6 IA-32, PPC 64, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server EUS 6.2.z IA-32, PPC64, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Workstation 6 IA-32, x86_64
Sun Microsystems, Inc.Solaris 10 sparc, x64/x86
VMware, Inc.VMware ESX Server 4.1 Base




Alerts and bulletins on the Cisco Security Intelligence Operations Portal are highlighted by analysts in the Cisco Threat Operations Center and represent a subset of the comprehensive content that is available through Cisco Security IntelliShield Alert Manager Service. This customizable threat and vulnerability alert service provides security staff with access to timely, accurate, and credible information about threats and vulnerabilities that may affect their environment.


LEGAL DISCLAIMER
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.
Powered by  IntelliShield