9.3
CRITICAL
CVE-2008-1887
Apache Python Buffer Overflow Vulnerability
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.

INFO

Published Date :

April 18, 2008, 5:05 p.m.

Last Modified :

June 27, 2022, 4:33 p.m.

Remotely Exploitable :

Yes !

Impact Score :

10.0

Exploitability Score :

8.6
Public PoC/Exploit Available at Github

CVE-2008-1887 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2008-1887 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2008-1887.

URL Resource
http://bugs.python.org/issue2587 Exploit Issue Tracking Vendor Advisory
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html Mailing List Third Party Advisory
http://secunia.com/advisories/29889 Not Applicable
http://secunia.com/advisories/30872 Not Applicable
http://secunia.com/advisories/31255 Not Applicable
http://secunia.com/advisories/31365 Not Applicable
http://secunia.com/advisories/31518 Not Applicable
http://secunia.com/advisories/31687 Not Applicable
http://secunia.com/advisories/33937 Not Applicable
http://secunia.com/advisories/37471 Not Applicable
http://security.gentoo.org/glsa/glsa-200807-01.xml Third Party Advisory
http://support.apple.com/kb/HT3438 Third Party Advisory
http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 Broken Link
http://www.debian.org/security/2008/dsa-1551 Patch Third Party Advisory
http://www.debian.org/security/2008/dsa-1620 Patch Third Party Advisory
http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900 Third Party Advisory
http://www.securityfocus.com/archive/1/490776 Exploit Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/506056/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/507985/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/28749 Patch Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/usn-632-1 Third Party Advisory
http://www.vmware.com/security/advisories/VMSA-2009-0016.html Third Party Advisory
http://www.vupen.com/english/advisories/2009/3316 Permissions Required
https://exchange.xforce.ibmcloud.com/vulnerabilities/41944 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407 Third Party Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell

Updated: 3 months, 1 week ago
1 stars 1 fork 1 watcher
Born at : June 13, 2019, 1:51 p.m. This repo has been linked 308 different CVEs too.

The vm images in this repo are lost, we recommend our new project: https://github.com/hust-open-atom-club/S2VulnHub

linux vulnerability reproduction cve edb

Shell C Perl PHP TeX Python Assembly Makefile HTML XSLT

Updated: 2 months, 2 weeks ago
327 stars 70 fork 70 watcher
Born at : July 30, 2015, 10:36 a.m. This repo has been linked 309 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2008-1887 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-1887 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jun. 27, 2022

    Action Type Old Value New Value
    Changed Reference Type http://bugs.python.org/issue2587 Exploit http://bugs.python.org/issue2587 Exploit, Issue Tracking, Vendor Advisory
    Changed Reference Type http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html No Types Assigned http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html Mailing List, Third Party Advisory
    Changed Reference Type http://secunia.com/advisories/29889 Vendor Advisory http://secunia.com/advisories/29889 Not Applicable
    Changed Reference Type http://secunia.com/advisories/30872 Vendor Advisory http://secunia.com/advisories/30872 Not Applicable
    Changed Reference Type http://secunia.com/advisories/31255 Vendor Advisory http://secunia.com/advisories/31255 Not Applicable
    Changed Reference Type http://secunia.com/advisories/31365 Vendor Advisory http://secunia.com/advisories/31365 Not Applicable
    Changed Reference Type http://secunia.com/advisories/31518 Vendor Advisory http://secunia.com/advisories/31518 Not Applicable
    Changed Reference Type http://secunia.com/advisories/31687 Vendor Advisory http://secunia.com/advisories/31687 Not Applicable
    Changed Reference Type http://secunia.com/advisories/33937 Vendor Advisory http://secunia.com/advisories/33937 Not Applicable
    Changed Reference Type http://secunia.com/advisories/37471 No Types Assigned http://secunia.com/advisories/37471 Not Applicable
    Changed Reference Type http://security.gentoo.org/glsa/glsa-200807-01.xml No Types Assigned http://security.gentoo.org/glsa/glsa-200807-01.xml Third Party Advisory
    Changed Reference Type http://support.apple.com/kb/HT3438 No Types Assigned http://support.apple.com/kb/HT3438 Third Party Advisory
    Changed Reference Type http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 No Types Assigned http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0122 Broken Link
    Changed Reference Type http://www.debian.org/security/2008/dsa-1551 Patch http://www.debian.org/security/2008/dsa-1551 Patch, Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2008/dsa-1620 Patch http://www.debian.org/security/2008/dsa-1620 Patch, Third Party Advisory
    Changed Reference Type http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900 No Types Assigned http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/490776 Exploit http://www.securityfocus.com/archive/1/490776 Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/archive/1/506056/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/506056/100/0/threaded Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/archive/1/507985/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/507985/100/0/threaded Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/bid/28749 Patch http://www.securityfocus.com/bid/28749 Patch, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.ubuntu.com/usn/usn-632-1 No Types Assigned http://www.ubuntu.com/usn/usn-632-1 Third Party Advisory
    Changed Reference Type http://www.vmware.com/security/advisories/VMSA-2009-0016.html No Types Assigned http://www.vmware.com/security/advisories/VMSA-2009-0016.html Third Party Advisory
    Changed Reference Type http://www.vupen.com/english/advisories/2009/3316 No Types Assigned http://www.vupen.com/english/advisories/2009/3316 Permissions Required
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/41944 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/41944 Third Party Advisory, VDB Entry
    Changed Reference Type https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407 No Types Assigned https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407 Third Party Advisory
    Changed Reference Type https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624 No Types Assigned https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624 Third Party Advisory
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-120
    Removed CPE Configuration OR *cpe:2.3:a:python_software_foundation:python:1.5.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:1.6:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:1.6.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.0:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.1.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.1.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.1.3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.4:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.5:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.3.6:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.4:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.4.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.4.2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.4.3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.4.4:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5.1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:*:*:*:*:*:*:*:* versions up to (including) 2.5.2 *cpe:2.3:a:python_software_foundation:python:2.5_alpha_1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_alpha_2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_beta_1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_beta_2:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_beta_3:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_final:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_release_candidate_1:*:*:*:*:*:*:* *cpe:2.3:a:python_software_foundation:python:2.5_release_candidate_2:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 2.5.2
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 11, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/506056/100/0/threaded [No Types Assigned]
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/507985/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/507985/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/506056/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:8624 [No Types Assigned]
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:10407 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8624 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10407 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/41944 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/41944 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 21, 2008

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2008-1887 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.47 }} 0.14%

score

0.72783

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability