Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/411830?format=api",
    "purl": "pkg:npm/node-bsdiff-android@0.1.1",
    "type": "npm",
    "namespace": "",
    "name": "node-bsdiff-android",
    "version": "0.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/201506?format=api",
            "vulnerability_id": "VCID-7swd-ne2b-zbf7",
            "summary": "Downloads Resources over HTTP in node-bsdiff-android",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10641",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00163",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37286",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00163",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37107",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00163",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37296",
                            "published_at": "2026-06-14T12:55:00Z"
                        },
                        {
                            "value": "0.00163",
                            "scoring_system": "epss",
                            "scoring_elements": "0.37311",
                            "published_at": "2026-06-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10641"
                },
                {
                    "reference_url": "https://github.com/arthur-zhang/node-bsdiff-android",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/arthur-zhang/node-bsdiff-android"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/234",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/234"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/234",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/234"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10641",
                    "reference_id": "CVE-2016-10641",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10641"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c2vr-2c89-ph88",
                    "reference_id": "GHSA-c2vr-2c89-ph88",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-c2vr-2c89-ph88"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-10641",
                "GHSA-c2vr-2c89-ph88"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7swd-ne2b-zbf7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361904?format=api",
            "vulnerability_id": "VCID-g6ya-k1em-qqc7",
            "summary": "Downloads Resources over HTTP\nnode-bsdiff-android downloads resources over HTTP, which leaves it vulnerable to MITM attacks.",
            "references": [],
            "fixed_packages": [],
            "aliases": [
                "GMS-2017-58"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g6ya-k1em-qqc7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-bsdiff-android@0.1.1"
}