Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61074?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61074?format=api", "purl": "pkg:npm/electron@17.0.1", "type": "npm", "namespace": "", "name": "electron", "version": "17.0.1", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "17.2.0", "latest_non_vulnerable_version": "42.0.0-alpha.5", "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://api.first.org/data/v1/epss?cve=CVE-2022-21718", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00848", "scoring_system": "epss", "scoring_elements": "0.75217", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-21718" }, { "reference_url": "https://github.com/electron/electron", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N" }, { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/electron/electron" }, { "reference_url": "https://github.com/electron/electron/pull/32178", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N" }, { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/electron/electron/pull/32178" }, { "reference_url": "https://github.com/electron/electron/pull/32240", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N" }, { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "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": [ { "value": "3.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N" }, { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "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": [ { "value": "3.4", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N" }, { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "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/148408?format=api", "purl": "pkg:npm/electron@17.0.0-alpha.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@17.0.0-alpha.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": 1.6, "exploitability": "0.5", "weighted_severity": "3.1", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r9kq-n5sk-zqba" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/electron@17.0.1" }