CVE-2022-36077: Electron - Sensitive Information Exposure
- Cve: CVE-2022-36077
- Name: Electron - Sensitive Information Exposure
- Description: The Electron framework enables writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7, Electron is vulnerable to Exposure of Sensitive Information. When following a redirect, Electron delays a check for redirecting to file:// URLs from other schemes. The contents of the file is not available to the renderer following the redirect, but if the redirect target is a SMB URL such as `file://some.website.com/`, then in some cases, Windows will connect to that server and attempt NTLM authentication, which can include sending hashed credentials.This issue has been patched in versions: 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7. Users are recommended to upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by preventing redirects to file:// URLs in the `WebContents.on('will-redirect')` event, for all WebContents as a workaround.
- Impact: Attackers can potentially intercept or misuse NTLM credentials sent during SMB connections initiated via malicious redirects, risking credential compromise.
- Remediation: Upgrade to the latest stable version of Electron or prevent redirects to file:// URLs in 'will-redirect' event handlers.
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00688
- Epss percentile: 0.53668
- Assignee: [email protected]
- Published at: 2022-11-08T07:15:09Z
- Age in days: 1477
- Modified at: 2026-06-17T04:52:52Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36077
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| CWE-522 | Insufficiently Protected Credentials |
Hackerone
- Reports: 1
- Rank: 1386
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v | nvd | Mitigation, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| electronjs:electron | = 21.0.0; = 21.0.0 alpha1; = 21.0.0 alpha2; = 21.0.0 alpha3; = 21.0.0 alpha4; = 21.0.0 alpha5; = 21.0.0 alpha6; >= 20.0.0, < 20.0.1; >= 19.0.0, < 19.0.11; < 18.3.7 | yes | nvd | /v1/products/electronjs/electron |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| electron/electron | package, security_advisory | yes | /v1/repositories/electron/electron |
Index
- Repositories: 8
- Repositories high signal: 4
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts