4.3
MEDIUM
CVE-2013-7040
Python Denial of Service Hash Collision Vulnerability
Description

Python 2.7 before 3.4 only uses the last eight bits of the prefix to randomize hash values, which causes it to compute hash values without restricting the ability to trigger hash collisions predictably and makes it easier for context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1150.

INFO

Published Date :

May 19, 2014, 2:55 p.m.

Last Modified :

Oct. 25, 2019, 11:53 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

8.6
Public PoC/Exploit Available at Github

CVE-2013-7040 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2013-7040 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
1 Apple mac_os_x
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 8 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

Software build threat intelligence tool to compare software versions used in projects against CVE/CPE vulnerability data

Python Makefile Shell Ruby Roff

Updated: 1 year, 7 months ago
5 stars 3 fork 3 watcher
Born at : July 29, 2014, 12:14 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2013-7040 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2013-7040 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.7.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/64194 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 30, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:rc2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:-:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:rc2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.7:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:o:apple:mac_os_x:10.10.4:*:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.3:rc2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.4:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:-:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.5:rc2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:2.7.7:*:*:*:*:*:*:*
    Changed Reference Type https://support.apple.com/kb/HT205031 No Types Assigned https://support.apple.com/kb/HT205031 Advisory
  • CVE Modified by [email protected]

    Aug. 18, 2015

    Action Type Old Value New Value
    Added Reference http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
    Added Reference https://support.apple.com/kb/HT205031
  • Initial Analysis by [email protected]

    May. 20, 2014

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2013-7040 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2013-7040 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.27 }} -0.00%

score

0.64364

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability