CVEvulnerability
CVE-2008-5031
10.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2008-11-10
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-189
Description
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.
Affected configurations
• python python 2.2.3
• python python 2.3.7
• python python 2.4.6
• python python 2.5.1
Related
Weakness · not in database (1)
References
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html lists.apple.com
- http://scary.beasts.org/security/CESA-2008-008.html scary.beasts.org
- http://secunia.com/advisories/33937 Vendor Advisory
- http://secunia.com/advisories/35750 Vendor Advisory
- http://secunia.com/advisories/37471 Vendor Advisory
- http://security.gentoo.org/glsa/glsa-200907-16.xml security.gentoo.org
- http://support.apple.com/kb/HT3438 support.apple.com
- 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 svn.python.org
- 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 svn.python.org
- http://svn.python.org/view?rev=61350&view=rev svn.python.org
- http://www.openwall.com/lists/oss-security/2008/11/05/2 www.openwall.com
- http://www.openwall.com/lists/oss-security/2008/11/05/3 www.openwall.com
- http://www.securityfocus.com/archive/1/507985/100/0/threaded www.securityfocus.com
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html www.vmware.com
- http://www.vupen.com/english/advisories/2009/3316 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46612 exchange.xforce.ibmcloud.com
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280 oval.cisecurity.org
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564 oval.cisecurity.org
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html lists.apple.com
- http://scary.beasts.org/security/CESA-2008-008.html scary.beasts.org
- http://secunia.com/advisories/33937 Vendor Advisory
- http://secunia.com/advisories/35750 Vendor Advisory
- http://secunia.com/advisories/37471 Vendor Advisory
- http://security.gentoo.org/glsa/glsa-200907-16.xml security.gentoo.org
- http://support.apple.com/kb/HT3438 support.apple.com
- 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 svn.python.org
- 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 svn.python.org
- http://svn.python.org/view?rev=61350&view=rev svn.python.org
- http://www.openwall.com/lists/oss-security/2008/11/05/2 www.openwall.com
- http://www.openwall.com/lists/oss-security/2008/11/05/3 www.openwall.com
- http://www.securityfocus.com/archive/1/507985/100/0/threaded www.securityfocus.com
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html www.vmware.com
- http://www.vupen.com/english/advisories/2009/3316 Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46612 exchange.xforce.ibmcloud.com
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280 oval.cisecurity.org
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564 oval.cisecurity.org