CVE-2008-1887

Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 18 Apr 2008, 17:00
Last modified:07 Aug 2024, 08:40

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.3 HIGH
v2.0 (nvd)
EPSS Score
2.39% LOW
2% probability -0.36%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

18 Apr 2008, 17:00
Published
Vulnerability first disclosed
07 Aug 2024, 08:40
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v2.0HIGHScore: 9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 2.39% Percentile: 85%

Techniques & Countermeasures

  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

    The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Affected Systems

  • canonicalubuntu_linux

    6.06 | 7.04 | 7.10 | 8.04

  • debiandebian_linux

    4.0

  • pythonpython

    ≤ 2.5.2

References (27)