Vulnerability CVE-2008-1887


Published: 2008-04-18   Modified: 2012-02-12

Description:
Python 2.5.2 and earlier allows context-dependent attackers to execute arbitrary code via multiple vectors that cause a negative size value to be provided to the PyString_FromStringAndSize function, which allocates less memory than expected when assert() is disabled and triggers a buffer overflow.

See advisories in our WLB2 database:
Topic
Author
Date
High
Incorrect input validation in PyString_FromStringAndSize() leads to multiple buffer overflows
Justin Ferguson
19.04.2008

Type:

CWE-119

(Improper Restriction of Operations within the Bounds of a Memory Buffer)

CVSS2 => (AV:N/AC:M/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
9.3/10
10/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Python software foundation -> Python 

 References:
http://bugs.python.org/issue2587
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
http://security.gentoo.org/glsa/glsa-200807-01.xml
http://support.apple.com/kb/HT3438
http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122
http://www.debian.org/security/2008/dsa-1551
http://www.debian.org/security/2008/dsa-1620
http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900
http://www.securityfocus.com/archive/1/490776
http://www.securityfocus.com/archive/1/506056/100/0/threaded
http://www.securityfocus.com/archive/1/507985/100/0/threaded
http://www.securityfocus.com/bid/28749
http://www.ubuntu.com/usn/usn-632-1
http://www.vmware.com/security/advisories/VMSA-2009-0016.html
http://www.vupen.com/english/advisories/2009/3316
https://exchange.xforce.ibmcloud.com/vulnerabilities/41944
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624

Copyright 2024, cxsecurity.com

 

Back to Top