Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53859?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53859?format=api", "purl": "pkg:npm/electron@1.6.8", "type": "npm", "namespace": "", "name": "electron", "version": "1.6.8", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "1.6.12", "latest_non_vulnerable_version": "27.0.0-beta.8", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38713?format=api", "vulnerability_id": "VCID-up47-dhwy-ubeh", "summary": "OS Command Injection\nRecent Electron versions do not have strict Same Origin Policy (SOP) enforcement. Combining an SOP bypass with a privileged URL internally used by Electron, it was possible to execute native Node.js primitives in order to run OS commands on the user's host.", "references": [ { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12581", "reference_id": "CVE-2017-12581", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12581" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53859?format=api", "purl": "pkg:npm/electron@1.6.8", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.6.8" } ], "aliases": [ "CVE-2017-12581" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-up47-dhwy-ubeh" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@1.6.8" }