Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/932305?format=api",
    "purl": "pkg:deb/debian/node-hoek@9.0.3%2B~5.0.0%2B~4.0.0-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "node-hoek",
    "version": "9.0.3+~5.0.0+~4.0.0-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.1.0+~cs10.1.0-1",
    "latest_non_vulnerable_version": "11.0.7+~cs12.0.2-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52439?format=api",
            "vulnerability_id": "VCID-f9fx-rs6v-x7d4",
            "summary": "hoek subject to prototype pollution via the clone function.\nhoek versions prior to 8.5.1, and 9.x prior to 9.0.3 are vulnerable to prototype pollution in the clone function. If an object with the __proto__ key is passed to clone() the key is converted to a prototype. This issue has been patched in version 9.0.3, and backported to 8.5.1.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-36604.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-36604.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-36604",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77593",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77536",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77465",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77495",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77505",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7753",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77511",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77508",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77547",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77544",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77453",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7746",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77578",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77572",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01047",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77485",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-36604"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36604",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36604"
                },
                {
                    "reference_url": "https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a"
                },
                {
                    "reference_url": "https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90"
                },
                {
                    "reference_url": "https://github.com/hapijs/hoek/issues/352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-05-27T14:47:45Z/"
                        }
                    ],
                    "url": "https://github.com/hapijs/hoek/issues/352"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36604",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36604"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2129802",
                    "reference_id": "2129802",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2129802"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c429-5p7v-vgjp",
                    "reference_id": "GHSA-c429-5p7v-vgjp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-c429-5p7v-vgjp"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29",
                    "reference_id": "SNYK-JS-HAPIHOEK-548452%29",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-05-27T14:47:45Z/"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932305?format=api",
                    "purl": "pkg:deb/debian/node-hoek@9.0.3%2B~5.0.0%2B~4.0.0-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-hoek@9.0.3%252B~5.0.0%252B~4.0.0-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932303?format=api",
                    "purl": "pkg:deb/debian/node-hoek@9.1.0%2B~cs10.1.0-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-hoek@9.1.0%252B~cs10.1.0-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932301?format=api",
                    "purl": "pkg:deb/debian/node-hoek@10.0.1%2B~cs12.0.0-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-hoek@10.0.1%252B~cs12.0.0-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932304?format=api",
                    "purl": "pkg:deb/debian/node-hoek@11.0.7%2B~cs12.0.2-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-hoek@11.0.7%252B~cs12.0.2-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2020-36604",
                "GHSA-c429-5p7v-vgjp"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f9fx-rs6v-x7d4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-hoek@9.0.3%252B~5.0.0%252B~4.0.0-1%3Fdistro=trixie"
}