Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61070?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61070?format=api", "purl": "pkg:npm/electron@13.6.6", "type": "npm", "namespace": "", "name": "electron", "version": "13.6.6", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "14.2.4", "latest_non_vulnerable_version": "27.0.0-beta.8", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42768?format=api", "vulnerability_id": "VCID-r9kq-n5sk-zqba", "summary": "Exposure of Resource to Wrong Sphere\nElectron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` allows renderers to obtain access to a bluetooth device via the web bluetooth API if the app has not configured a custom `select-bluetooth-device` event handler. This has been patched and Electron versions `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` contain the fix. Code from the GitHub Security Advisory can be added to the app to work around the issue.", "references": [ { "reference_url": "https://github.com/electron/electron/pull/32178", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/electron/electron/pull/32178" }, { "reference_url": "https://github.com/electron/electron/pull/32240", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/electron/electron/pull/32240" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21718", "reference_id": "CVE-2022-21718", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21718" }, { "reference_url": "https://github.com/advisories/GHSA-3p22-ghq8-v749", "reference_id": "GHSA-3p22-ghq8-v749", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-3p22-ghq8-v749" }, { "reference_url": "https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749", "reference_id": "GHSA-3p22-ghq8-v749", "reference_type": "", "scores": [], "url": "https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61070?format=api", "purl": "pkg:npm/electron@13.6.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@13.6.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/61071?format=api", "purl": "pkg:npm/electron@14.2.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@14.2.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/61072?format=api", "purl": "pkg:npm/electron@15.3.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@15.3.5" }, { "url": "http://public2.vulnerablecode.io/api/packages/61073?format=api", "purl": "pkg:npm/electron@16.0.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@16.0.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/61074?format=api", "purl": "pkg:npm/electron@17.0.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@17.0.1" } ], "aliases": [ "CVE-2022-21718", "GHSA-3p22-ghq8-v749" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r9kq-n5sk-zqba" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@13.6.6" }