Skip to content
Fencer Intel
high 7.2

CVE-2022-36077 json

Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect

published 4y ago modified 4mo 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

Is CVE-2022-36077 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-rostering
    affected: 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 electron
    +4 more products
    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
    not affected: vulnerable code not present

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
last yr.

Exploit prediction

0.69% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Weakness
  • CWE-522 Insufficiently Protected Credentials
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Intel 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.