CVE-2013-7040Apple Mac Os X
Medium 4.3 No auth needed
Follow: this CVE · Apple · Apple Mac Os X We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- May 19, 2014
- Updated
- Jun 17, 2026
- Category
- Operating system · Apple
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Mac Os X.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apple | mac_os_x | ≤ 10.10.4 |
| python | python | 2.7.1 |
| python | python | 2.7.1 |
| python | python | 2.7.2 |
| python | python | 2.7.3 |
| python | python | 2.7.4 |
| python | python | 2.7.5 |
| python | python | 2.7.6 |
| python | python | 2.7.7 |
| python | python | 2.7.1150 |
| python | python | 2.7.2150 |
| python | python | 3.0 |
| python | python | 3.0.1 |
| python | python | 3.1 |
| python | python | 3.1.1 |
| python | python | 3.1.2 |
| python | python | 3.1.3 |
| python | python | 3.1.4 |
| python | python | 3.1.5 |
| python | python | 3.2 |
| python | python | 3.2 |
| python | python | 3.2.0 |
| python | python | 3.2.1 |
| python | python | 3.2.2 |
| python | python | 3.2.3 |
| python | python | 3.2.4 |
| python | python | 3.2.5 |
| python | python | 3.2.2150 |
| python | python | 3.3 |
| python | python | 3.3 |
| python | python | 3.3.0 |
| python | python | 3.3.1 |
| python | python | 3.3.1 |
| python | python | 3.3.2 |
| python | python | 3.3.3 |
| python | python | 3.3.3 |
| python | python | 3.3.3 |
| python | python | 3.3.4 |
| python | python | 3.3.4 |
| python | python | 3.3.5 |
| python | python | 3.3.5 |
| python | python | 3.3.5 |
Official sources
References
Links published by the sources. Open them with care.