Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/52466?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/52466?format=api", "purl": "pkg:npm/hapi@11.1.4", "type": "npm", "namespace": "", "name": "hapi", "version": "11.1.4", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "13.4.2", "latest_non_vulnerable_version": "16.1.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37993?format=api", "vulnerability_id": "VCID-14sc-5rkp-vqf7", "summary": "Route level CORS config overrides connection level defaults\nWhen server level, connection level or route level CORS configurations are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins `*`).", "references": [ { "reference_url": "https://github.com/hapijs/hapi/issues/2980", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/hapijs/hapi/issues/2980" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/52466?format=api", "purl": "pkg:npm/hapi@11.1.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hapi@11.1.4" } ], "aliases": [ "GMS-2015-57" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14sc-5rkp-vqf7" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hapi@11.1.4" }