Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/77686?format=api",
    "purl": "pkg:ebuild/dev-lang/php@5.1.4-r6",
    "type": "ebuild",
    "namespace": "dev-lang",
    "name": "php",
    "version": "5.1.4-r6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.1.6-r6",
    "latest_non_vulnerable_version": "8.3.12",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48882?format=api",
            "vulnerability_id": "VCID-p819-ynn1-u3ht",
            "summary": "PHP contains a function that, when used, could allow a remote attacker to\n    execute arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-4020.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-4020.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-4020",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90519",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90522",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90533",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9054",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90551",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90558",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90566",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9056",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90577",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90575",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9059",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90586",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90599",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.0586",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90617",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-4020"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618174",
                    "reference_id": "1618174",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618174"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200608-28",
                    "reference_id": "GLSA-200608-28",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200608-28"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/2193.php",
                    "reference_id": "OSVDB-28000;CVE-2006-4020;OSVDB-27824",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/2193.php"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0669",
                    "reference_id": "RHSA-2006:0669",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0669"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0682",
                    "reference_id": "RHSA-2006:0682",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0682"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0688",
                    "reference_id": "RHSA-2006:0688",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0688"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0736",
                    "reference_id": "RHSA-2006:0736",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0736"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/342-1/",
                    "reference_id": "USN-342-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/342-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/77686?format=api",
                    "purl": "pkg:ebuild/dev-lang/php@5.1.4-r6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.1.4-r6"
                }
            ],
            "aliases": [
                "CVE-2006-4020"
            ],
            "risk_score": 0.2,
            "exploitability": "2.0",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p819-ynn1-u3ht"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.1.4-r6"
}