Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/222984?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/222984?format=api", "purl": "pkg:npm/superstatic@0.6.0", "type": "npm", "namespace": "", "name": "superstatic", "version": "0.6.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "5.0.2", "latest_non_vulnerable_version": "5.0.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40123?format=api", "vulnerability_id": "VCID-1b5n-gjpx-nqa5", "summary": "Relative Path Traversal in superstatic.", "references": [ { "reference_url": "https://github.com/firebase/superstatic/blob/v5.0.1/lib/providers/fs.js#L71", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/firebase/superstatic/blob/v5.0.1/lib/providers/fs.js#L71" }, { "reference_url": "https://github.com/firebase/superstatic/commit/e396ff62f588732989137d6c40d46b310e51ef2b", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/firebase/superstatic/commit/e396ff62f588732989137d6c40d46b310e51ef2b" }, { "reference_url": "https://github.com/firebase/superstatic/pull/255", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/firebase/superstatic/pull/255" }, { "reference_url": "https://www.npmjs.com/advisories/652", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/652" }, { "reference_url": "https://github.com/advisories/GHSA-wm77-q74p-5763", "reference_id": "GHSA-wm77-q74p-5763", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-wm77-q74p-5763" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/56184?format=api", "purl": "pkg:npm/superstatic@5.0.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/superstatic@5.0.2" } ], "aliases": [ "GHSA-wm77-q74p-5763", "GMS-2018-35" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1b5n-gjpx-nqa5" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/superstatic@0.6.0" }