Bug 2141029 (CVE-2022-36077)

Summary: CVE-2022-36077 Electron: Redirection error and misuse of hashed credentials
Product: [Other] Security Response Reporter: Sage McTaggart <amctagga>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, alazarot, ansmith, asoldano, augol, balejosg, bbaranow, bmaxwell, boliveir, brian.stansberry, caillon+fedoraproject, cdewolf, chazlett, chitlesh, darran.lofthouse, dkreling, dmitry, dosoudil, eclipseo, emingora, epel-packagers-sig, eric.wittmann, etirelli, extras-orphan, fjuma, gecko-bugs-nobody, gjospin, gmalinko, go-sig, ian.s.mcinerney, ibek, iboverma, iweiss, janstey, jaromir.capik, jlieskov, jpavlik, jrokos, jross, jvymazal, jwon, kai-engert-fedora, kgiusti, kvanderr, kverlaen, lemenkov, lgao, lhh, link, lkundrak, loganjerry, mah.darade, mcressma, michel, mmagr, mnovotny, mokumar, mosmerov, msochure, msvehla, ngompa13, nwallace, openstack-sig, pabelanger, pantinor, pdelbell, pdrozd, peholase, pjindal, pmackay, pskopek, rgodfrey, rguimara, rrajasek, rstancel, saroy, smaestri, sthorger, tom.jenkinson, tosykora, zfridric, zsvetlik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: electron 18.3.7, electron 19.0.11, electron 20.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-12 07:00:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2141030    

Description Sage McTaggart 2022-11-08 14:12:09 UTC
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.

https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v

Comment 2 Jonny Heggheim 2022-11-18 16:45:36 UTC
Not sure why I was added to the CC

Comment 4 Product Security DevOps Team 2023-01-12 07:00:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-36077