CVE-2008-5031
What it is
Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer value in the tabsize argument to the expandtabs method, as implemented by (1) the string_expandtabs function in Objects/stringobject.c and (2) the unicode_expandtabs function in Objects/unicodeobject.c. NOTE: this vulnerability reportedly exists because of an incomplete fix for CVE-2008-2315.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.0% in the next 30 days (EPSS).
- Severity: 10.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.0% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Python 2.2.3
- Python 2.3.7
- Python 2.4.6
- Python 2.5.1
Attack profile CVSS 2.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-5031.md and follow it. Check whether this project is affected by CVE-2008-5031. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/35750
- http://secunia.com/advisories/37471
- http://www.vupen.com/english/advisories/2009/3316
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/35750
- http://secunia.com/advisories/37471
- http://www.vupen.com/english/advisories/2009/3316
References
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- http://scary.beasts.org/security/CESA-2008-008.html
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/35750
- http://secunia.com/advisories/37471
- http://security.gentoo.org/glsa/glsa-200907-16.xml
- http://support.apple.com/kb/HT3438
- http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c
- http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c
- http://svn.python.org/view?rev=61350&view=rev
- http://www.openwall.com/lists/oss-security/2008/11/05/2
- http://www.openwall.com/lists/oss-security/2008/11/05/3
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2009/3316
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46612
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
- http://scary.beasts.org/security/CESA-2008-008.html
- http://secunia.com/advisories/33937
- http://secunia.com/advisories/35750
- http://secunia.com/advisories/37471
- http://security.gentoo.org/glsa/glsa-200907-16.xml
- http://support.apple.com/kb/HT3438