Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/237442?format=api",
    "purl": "pkg:npm/npmconf@0.1.14",
    "type": "npm",
    "namespace": "",
    "name": "npmconf",
    "version": "0.1.14",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.3",
    "latest_non_vulnerable_version": "2.1.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41080?format=api",
            "vulnerability_id": "VCID-vvhg-fxna-abht",
            "summary": "Out-of-bounds Read in npmconf\nVersions of `npmconf` allocate and write to disk uninitialized memory contents when a typed number is passed as input on Node.js Update to or later. Consider switching to another config storage mechanism, as npmconf is deprecated and should not be used.",
            "references": [
                {
                    "reference_url": "https://hackerone.com/reports/320269",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/320269"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/653",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/653"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/653",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/653"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-57cf-349j-352g",
                    "reference_id": "GHSA-57cf-349j-352g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-57cf-349j-352g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58207?format=api",
                    "purl": "pkg:npm/npmconf@2.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npmconf@2.1.3"
                }
            ],
            "aliases": [
                "GHSA-57cf-349j-352g",
                "GMS-2019-42"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vvhg-fxna-abht"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npmconf@0.1.14"
}