CVE-2022-36077 json
Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect
published 2022-11-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-p2jh-44qj-pf2v , EUVD-2022-7391
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 18.3.7, 19.0.11, 20.0.1
- electronjs electron 18.3.7, 19.0.11, 20.0.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-36077 updated cvss 5.4
Electron: Redirection error and misuse of hashed credentials
-
Red Hat Decision Manager 7 electron Red Hat JBoss Data Grid 7 electron Red Hat JBoss Enterprise Application Platform 6 electron Red Hat Process Automation 7 electron, org.optaweb.employeerostering-optaweb-employee-rostering org.optaweb.employeerostering-optaweb-employee-rosteringaffected: no fix planned “Out of support scope”
-
Red Hat A-MQ Online electron Red Hat Application Interconnect 1.0 skupper-router skupper-router Red Hat build of Apicurio Registry 2 electron Red Hat Data Grid 8 electron Red Hat Fuse 7 electron Red Hat Integration Camel K 1 electronnot affected: vulnerable code not present
+4 more productsfewer
Red Hat Integration Service Registry electron Red Hat JBoss Enterprise Application Platform 7 electron Red Hat JBoss Enterprise Application Platform Expansion Pack electron Red Hat Single Sign-On 7 electron
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <18.3.7 >=20.0.0-beta.1, <20.0.1 >=19.0.0-beta.1, <19.0.11 |
18.3.7 20.0.1 19.0.11 |
Affected products
- electron electron
Classification
References
-
github.com
/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v
web, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36077
advisory
-
github.com
/electron/electron
package
Sources
- CVE List CVE-2022-36077
- GitHub Advisory GHSA-p2jh-44qj-pf2v
- NVD CVE-2022-36077
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.