Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49117?format=api",
    "vulnerability_id": "VCID-e9tp-55er-6khz",
    "summary": "Multiple vulnerabilities were found in PHP, the worst of which lead\n    to remote execution of arbitrary code.",
    "aliases": [
        {
            "alias": "CVE-2012-2311"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77748?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.3.15",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.3.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77749?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.4.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.4.5"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2311.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2311.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2311",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9887",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98842",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98844",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98845",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98847",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98846",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98849",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9885",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98854",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98855",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98859",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98864",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98863",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98867",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.74532",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98868",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.83245",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99259",
                    "published_at": "2026-04-01T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2311"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=818907",
            "reference_id": "818907",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=818907"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201209-03",
            "reference_id": "GLSA-201209-03",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201209-03"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1437-1/",
            "reference_id": "USN-1437-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1437-1/"
        }
    ],
    "weaknesses": [],
    "exploits": [
        {
            "date_added": "2012-05-05",
            "description": "PHP < 5.3.12 / < 5.4.2 - CGI Argument Injection",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2012-05-05",
            "exploit_type": "remote",
            "platform": "php",
            "source_date_updated": "2012-05-08",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e9tp-55er-6khz"
}