Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/33847?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33847?format=api",
    "vulnerability_id": "VCID-bas7-hr7c-r7b3",
    "summary": "Multiple integer overflows in Python have an unspecified impact.",
    "aliases": [
        {
            "alias": "CVE-2008-5031"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73503?format=api",
            "purl": "pkg:ebuild/dev-lang/python@2.5.4-r2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/python@2.5.4-r2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/128816?format=api",
            "purl": "pkg:rpm/redhat/python@2.2.3-6?arch=11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-24m5-6chr-y7a8"
                },
                {
                    "vulnerability": "VCID-38yx-1h5j-4kb1"
                },
                {
                    "vulnerability": "VCID-bas7-hr7c-r7b3"
                },
                {
                    "vulnerability": "VCID-fpye-8fe9-m7du"
                },
                {
                    "vulnerability": "VCID-g65j-xhje-hkd4"
                },
                {
                    "vulnerability": "VCID-qh23-73q6-pubf"
                },
                {
                    "vulnerability": "VCID-wznk-5ze9-kucq"
                },
                {
                    "vulnerability": "VCID-yser-kjy9-e7ck"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/python@2.2.3-6%3Farch=11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/128815?format=api",
            "purl": "pkg:rpm/redhat/python@2.3.4-14.7.el4_8?arch=2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-24m5-6chr-y7a8"
                },
                {
                    "vulnerability": "VCID-38yx-1h5j-4kb1"
                },
                {
                    "vulnerability": "VCID-b3m1-mjke-n3br"
                },
                {
                    "vulnerability": "VCID-bas7-hr7c-r7b3"
                },
                {
                    "vulnerability": "VCID-fpye-8fe9-m7du"
                },
                {
                    "vulnerability": "VCID-g65j-xhje-hkd4"
                },
                {
                    "vulnerability": "VCID-qh23-73q6-pubf"
                },
                {
                    "vulnerability": "VCID-wznk-5ze9-kucq"
                },
                {
                    "vulnerability": "VCID-yser-kjy9-e7ck"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/python@2.3.4-14.7.el4_8%3Farch=2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/128814?format=api",
            "purl": "pkg:rpm/redhat/python@2.4.3-24.el5_3?arch=6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-24m5-6chr-y7a8"
                },
                {
                    "vulnerability": "VCID-38yx-1h5j-4kb1"
                },
                {
                    "vulnerability": "VCID-b3m1-mjke-n3br"
                },
                {
                    "vulnerability": "VCID-bas7-hr7c-r7b3"
                },
                {
                    "vulnerability": "VCID-fpye-8fe9-m7du"
                },
                {
                    "vulnerability": "VCID-g65j-xhje-hkd4"
                },
                {
                    "vulnerability": "VCID-k8aa-5wqq-73h3"
                },
                {
                    "vulnerability": "VCID-q7b1-n4tc-dffa"
                },
                {
                    "vulnerability": "VCID-qh23-73q6-pubf"
                },
                {
                    "vulnerability": "VCID-wznk-5ze9-kucq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/python@2.4.3-24.el5_3%3Farch=6"
        }
    ],
    "references": [
        {
            "reference_url": "http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-5031.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-5031.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2008-5031",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85948",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8579",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85802",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8582",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85824",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85843",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85853",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85868",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85865",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85861",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8588",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85884",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85876",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85898",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85906",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85908",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.02689",
                    "scoring_system": "epss",
                    "scoring_elements": "0.85926",
                    "published_at": "2026-05-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2008-5031"
        },
        {
            "reference_url": "http://scary.beasts.org/security/CESA-2008-008.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://scary.beasts.org/security/CESA-2008-008.html"
        },
        {
            "reference_url": "http://secunia.com/advisories/33937",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/33937"
        },
        {
            "reference_url": "http://secunia.com/advisories/35750",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/35750"
        },
        {
            "reference_url": "http://secunia.com/advisories/37471",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/37471"
        },
        {
            "reference_url": "http://security.gentoo.org/glsa/glsa-200907-16.xml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://security.gentoo.org/glsa/glsa-200907-16.xml"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46612",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46612"
        },
        {
            "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280"
        },
        {
            "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564"
        },
        {
            "reference_url": "http://support.apple.com/kb/HT3438",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://support.apple.com/kb/HT3438"
        },
        {
            "reference_url": "http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c"
        },
        {
            "reference_url": "http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c"
        },
        {
            "reference_url": "http://svn.python.org/view?rev=61350&view=rev",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://svn.python.org/view?rev=61350&view=rev"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2008/11/05/2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2008/11/05/2"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2008/11/05/3",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2008/11/05/3"
        },
        {
            "reference_url": "http://www.securityfocus.com/archive/1/507985/100/0/threaded",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/archive/1/507985/100/0/threaded"
        },
        {
            "reference_url": "http://www.vmware.com/security/advisories/VMSA-2009-0016.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vmware.com/security/advisories/VMSA-2009-0016.html"
        },
        {
            "reference_url": "http://www.vupen.com/english/advisories/2009/3316",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vupen.com/english/advisories/2009/3316"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=470915",
            "reference_id": "470915",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=470915"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2008-5031",
            "reference_id": "CVE-2008-5031",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:C/I:C/A:C"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2008-5031"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/200907-16",
            "reference_id": "GLSA-200907-16",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/200907-16"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2009:1176",
            "reference_id": "RHSA-2009:1176",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2009:1176"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2009:1177",
            "reference_id": "RHSA-2009:1177",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2009:1177"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2009:1178",
            "reference_id": "RHSA-2009:1178",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2009:1178"
        },
        {
            "reference_url": "https://usn.ubuntu.com/806-1/",
            "reference_id": "USN-806-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/806-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "cwe_id": 189,
            "name": "Numeric Errors",
            "description": "Weaknesses in this category are related to improper calculation or conversion of numbers."
        }
    ],
    "exploits": [],
    "severity_range_score": "10.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bas7-hr7c-r7b3"
}