CVEfocus › CVE database › CVE-2013-7040

CVE-2013-7040

EPSS 3.1% (higher than 88% of CVEs)Published 2014-05-19Updated 2024-08-06Assigner: mitre

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

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fix pending
14Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04python2.7Fix pendingUBUNTU-CVE-2013-7040
Red Hat Enterprise Linux 7pythonWill not fix
Will not fix
Red Hat Enterprise Linux 7python-debugWill not fix
Will not fix
Red Hat Enterprise Linux 7python-develWill not fix
Will not fix
Red Hat Enterprise Linux 7python-libsWill not fix
Will not fix
Red Hat Enterprise Linux 7python-testWill not fix
Will not fix
Red Hat Enterprise Linux 7python-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 7tkinterWill not fix
Will not fix
Red Hat Enterprise Linux 6pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6python-develWill not fix
Will not fix
Red Hat Enterprise Linux 6python-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6python-testWill not fix
Will not fix
Red Hat Enterprise Linux 6python-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 6tkinterWill not fix
Will not fix
Red Hat Enterprise Linux 5pythonWill not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.