Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/75829?format=api",
    "purl": "pkg:npm/owl-orchard-apple-sunshine@0.0.0",
    "type": "npm",
    "namespace": "",
    "name": "owl-orchard-apple-sunshine",
    "version": "0.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/340287?format=api",
            "vulnerability_id": "VCID-mzt1-w8k8-5ybt",
            "summary": "Malicious Package in owl-orchard-apple-sunshine",
            "references": [
                {
                    "reference_url": "https://www.npmjs.com/advisories/1307",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/1307"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h24p-2c3m-5qf4",
                    "reference_id": "GHSA-h24p-2c3m-5qf4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-h24p-2c3m-5qf4"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GHSA-h24p-2c3m-5qf4"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mzt1-w8k8-5ybt"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/owl-orchard-apple-sunshine@0.0.0"
}