CVE-2008-1887
python: PyString_FromStringAndSize does not check for negative size values
Severity Score
9.3
*CVSS v2
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
2
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
Python versión 2.5.2 y anteriores, permite a los atacantes dependiendo del contexto ejecutar código arbitrario por medio de varios vectores que causan que se proporcione un valor de tamaño negativo a la función PyString_FromStringAndSize, que asigna menos memoria de la esperada cuando assert() está deshabilitado y desencadena un desbordamiento de búfer.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2008-04-18 CVE Reserved
- 2008-04-18 CVE Published
- 2023-12-03 EPSS Updated
- 2024-08-07 CVE Updated
- 2024-08-07 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CAPEC
References (28)
URL | Date | SRC |
---|---|---|
http://bugs.python.org/issue2587 | 2024-08-07 | |
http://www.securityfocus.com/archive/1/490776 | 2024-08-07 |
URL | Date | SRC |
---|---|---|
http://www.debian.org/security/2008/dsa-1551 | 2022-06-27 | |
http://www.debian.org/security/2008/dsa-1620 | 2022-06-27 | |
http://www.securityfocus.com/bid/28749 | 2022-06-27 |
URL | Date | SRC |
---|---|---|
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html | 2022-06-27 | |
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html | 2022-06-27 | |
http://security.gentoo.org/glsa/glsa-200807-01.xml | 2022-06-27 | |
http://www.ubuntu.com/usn/usn-632-1 | 2022-06-27 | |
https://access.redhat.com/security/cve/CVE-2008-1887 | 2009-07-27 | |
https://bugzilla.redhat.com/show_bug.cgi?id=443810 | 2009-07-27 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Python Search vendor "Python" | Python Search vendor "Python" for product "Python" | <= 2.5.2 Search vendor "Python" for product "Python" and version " <= 2.5.2" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 6.06 Search vendor "Canonical" for product "Ubuntu Linux" and version "6.06" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 7.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "7.04" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 7.10 Search vendor "Canonical" for product "Ubuntu Linux" and version "7.10" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 8.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "8.04" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 4.0 Search vendor "Debian" for product "Debian Linux" and version "4.0" | - |
Affected
|