Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/50864?format=api",
    "purl": "pkg:npm/node-inspector@6.0.0",
    "type": "npm",
    "namespace": "",
    "name": "node-inspector",
    "version": "6.0.0",
    "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/14481?format=api",
            "vulnerability_id": "VCID-u8pe-48f4-abc9",
            "summary": "Authentication Bypass by Spoofing\nThe Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7160.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7160.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7160",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81176",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81178",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81177",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81136",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81075",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8116",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81084",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81109",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81108",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81142",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8114",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01501",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81147",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7160"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7160",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7160"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/nodejs/node/commit/e3950d1a402b80e4098a40aacddd6a104da0cfa9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nodejs/node/commit/e3950d1a402b80e4098a40aacddd6a104da0cfa9"
                },
                {
                    "reference_url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases"
                },
                {
                    "reference_url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/"
                },
                {
                    "reference_url": "https://support.f5.com/csp/article/K63025104?utm_source=f5support&amp%3Butm_medium=RSS",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://support.f5.com/csp/article/K63025104?utm_source=f5support&amp%3Butm_medium=RSS"
                },
                {
                    "reference_url": "https://support.f5.com/csp/article/K63025104?utm_source=f5support&utm_medium=RSS",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://support.f5.com/csp/article/K63025104?utm_source=f5support&utm_medium=RSS"
                },
                {
                    "reference_url": "https://www.oracle.com//security-alerts/cpujul2021.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.oracle.com//security-alerts/cpujul2021.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1561979",
                    "reference_id": "1561979",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1561979"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "reference_id": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                    "reference_id": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7160",
                    "reference_id": "CVE-2018-7160",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7160"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wq4c-wm6x-jw44",
                    "reference_id": "GHSA-wq4c-wm6x-jw44",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wq4c-wm6x-jw44"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2949",
                    "reference_id": "RHSA-2018:2949",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2949"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4796-1/",
                    "reference_id": "USN-USN-4796-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4796-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-7160",
                "GHSA-wq4c-wm6x-jw44"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u8pe-48f4-abc9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-inspector@6.0.0"
}