Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49118?format=api",
    "vulnerability_id": "VCID-jd52-h8fq-5fem",
    "summary": "Multiple vulnerabilities were found in PHP, the worst of which lead\n    to remote execution of arbitrary code.",
    "aliases": [
        {
            "alias": "CVE-2012-2335"
        }
    ],
    "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-2335.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2335.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2335",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94871",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9488",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94883",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94885",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94894",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94898",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94903",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94905",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94907",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94914",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94917",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94921",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94922",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94928",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.1652",
                    "scoring_system": "epss",
                    "scoring_elements": "0.94935",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2335"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=820874",
            "reference_id": "820874",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=820874"
        },
        {
            "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/1481-1/",
            "reference_id": "USN-1481-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1481-1/"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jd52-h8fq-5fem"
}