CVE-2008-1887

critical

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.

References

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407

https://exchange.xforce.ibmcloud.com/vulnerabilities/41944

http://www.vupen.com/english/advisories/2009/3316

http://www.vmware.com/security/advisories/VMSA-2009-0016.html

http://www.ubuntu.com/usn/usn-632-1

http://www.securityfocus.com/bid/28749

http://www.securityfocus.com/archive/1/507985/100/0/threaded

http://www.securityfocus.com/archive/1/506056/100/0/threaded

http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900

http://www.debian.org/security/2008/dsa-1620

http://www.debian.org/security/2008/dsa-1551

http://support.apple.com/kb/HT3438

http://security.gentoo.org/glsa/glsa-200807-01.xml

http://secunia.com/advisories/37471

http://secunia.com/advisories/33937

http://secunia.com/advisories/31687

http://secunia.com/advisories/31518

http://secunia.com/advisories/31365

http://secunia.com/advisories/31255

http://secunia.com/advisories/30872

http://secunia.com/advisories/29889

http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html

http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html

Details

Source: Mitre, NVD

Published: 2008-04-18

Updated: 2022-06-27

Risk Information

CVSS v2

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical