Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/142638?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/142638?format=api", "purl": "pkg:npm/reques@0.0.0", "type": "npm", "namespace": "", "name": "reques", "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/32890?format=api", "vulnerability_id": "VCID-1118-wfde-6yax", "summary": "Malicious Package in reques\nAll versions of `reques` typosquatted a popular package of similar name and tracked users who had installed the incorrect package. The package uploaded information to a remote server including: name of the downloaded package, name of the intended package, the Node version and whether the process was running as sudo. There is no further compromise.\n\n\n## Recommendation\n\nRemove the package from your dependencies and always ensure package names are typed correctly upon installation.", "references": [ { "reference_url": "https://www.npmjs.com/advisories/863", "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/863" }, { "reference_url": "https://github.com/advisories/GHSA-g8jc-mm3c-cwhj", "reference_id": "GHSA-g8jc-mm3c-cwhj", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-g8jc-mm3c-cwhj" } ], "fixed_packages": [], "aliases": [ "GHSA-g8jc-mm3c-cwhj", "GMS-2020-464" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1118-wfde-6yax" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/reques@0.0.0" }