Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/252774?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/252774?format=api", "purl": "pkg:npm/npm-programmatic@0.0.3", "type": "npm", "namespace": "", "name": "npm-programmatic", "version": "0.0.3", "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/52493?format=api", "vulnerability_id": "VCID-p2gp-8gha-zfe6", "summary": "OS Command Injection\nnpm-programmatic is vulnerable to Command Injection. The packages and option properties are concatenated together without any validation and are used by the `exec` function directly.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7614", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01346", "scoring_system": "epss", "scoring_elements": "0.80396", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.01346", "scoring_system": "epss", "scoring_elements": "0.80416", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.01346", "scoring_system": "epss", "scoring_elements": "0.80421", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.01346", "scoring_system": "epss", "scoring_elements": "0.80424", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.01346", "scoring_system": "epss", "scoring_elements": "0.80422", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7614" }, { "reference_url": "https://github.com/Manak/npm-programmatic/blob/master/index.js#L18", "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://github.com/Manak/npm-programmatic/blob/master/index.js#L18" }, { "reference_url": "https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115", "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://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115" }, { "reference_url": "https://www.npmjs.com/advisories/1507", "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/1507" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7614", "reference_id": "CVE-2020-7614", "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://nvd.nist.gov/vuln/detail/CVE-2020-7614" }, { "reference_url": "https://github.com/advisories/GHSA-426h-24vj-qwxf", "reference_id": "GHSA-426h-24vj-qwxf", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-426h-24vj-qwxf" } ], "fixed_packages": [], "aliases": [ "CVE-2020-7614", "GHSA-426h-24vj-qwxf" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p2gp-8gha-zfe6" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-programmatic@0.0.3" }