Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73144?format=api",
    "purl": "pkg:npm/sshpk@1.14.0",
    "type": "npm",
    "namespace": "",
    "name": "sshpk",
    "version": "1.14.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.14.1",
    "latest_non_vulnerable_version": "1.14.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33352?format=api",
            "vulnerability_id": "VCID-4wmg-m36u-fbch",
            "summary": "Withdrawn: duplicate of GHSA-2m39-62fm-q8r3",
            "references": [
                {
                    "reference_url": "https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17"
                },
                {
                    "reference_url": "https://hackerone.com/reports/319593",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/319593"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wx84-69jh-jjp2",
                    "reference_id": "GHSA-wx84-69jh-jjp2",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wx84-69jh-jjp2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73145?format=api",
                    "purl": "pkg:npm/sshpk@1.14.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sshpk@1.14.1"
                }
            ],
            "aliases": [
                "GHSA-wx84-69jh-jjp2"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4wmg-m36u-fbch"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sshpk@1.14.0"
}