Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/271545?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/271545?format=api", "purl": "pkg:npm/getsetdeep@3.1.0", "type": "npm", "namespace": "", "name": "getsetdeep", "version": "3.1.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/53534?format=api", "vulnerability_id": "VCID-rrx6-dr9n-d3cr", "summary": "Prototype Pollution in getsetdeep\nAll versions of `getsetdeep` are vulnerable to prototype pollution. The `setDeep()` function does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects. \n\nNo fix is currently available. Consider using an alternative package until a fix is made available.", "references": [ { "reference_url": "https://www.npmjs.com/advisories/1334", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/1334" }, { "reference_url": "https://github.com/advisories/GHSA-8j49-49jq-vwcq", "reference_id": "GHSA-8j49-49jq-vwcq", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-8j49-49jq-vwcq" } ], "fixed_packages": [], "aliases": [ "GHSA-8j49-49jq-vwcq", "GMS-2020-273" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rrx6-dr9n-d3cr" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/getsetdeep@3.1.0" }