{ "id": "CVE-2022-36077", "sourceIdentifier": "security-advisories@github.com", "published": "2022-11-08T07:15:09.347", "lastModified": "2022-11-09T19:16:17.637", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 2.7 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW", "baseScore": 7.2, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 2.7 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-522" } ] }, { "source": "security-advisories@github.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-200" }, { "lang": "en", "value": "CWE-522" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "18.3.7", "matchCriteriaId": "138970C1-2C17-4B01-A90B-F9EE5A424B82" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "19.0.0", "versionEndExcluding": "19.0.11", "matchCriteriaId": "4E2B9D0E-3F68-446E-BFB5-4D17045C741D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "20.0.0", "versionEndExcluding": "20.0.1", "matchCriteriaId": "A1B82270-2ECF-412D-B346-BA918EE4D690" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:-:*:*:*:node.js:*:*", "matchCriteriaId": "4CDC3C50-9ECE-4908-8A40-892BDE3A6D0B" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha1:*:*:*:node.js:*:*", "matchCriteriaId": "276FABBA-8CF8-4F24-B564-E2B92313BEC9" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha2:*:*:*:node.js:*:*", "matchCriteriaId": "DC332397-0312-4810-B793-5596CFA9CCF6" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha3:*:*:*:node.js:*:*", "matchCriteriaId": "54A98448-0E15-4B53-8ABE-08FFA1421920" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha4:*:*:*:node.js:*:*", "matchCriteriaId": "46BFC0D2-1409-4FB3-8762-8250DC0D6B51" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha5:*:*:*:node.js:*:*", "matchCriteriaId": "BCE9B3DE-2959-4BC5-81D4-8ACC7C974D0D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:electronjs:electron:21.0.0:alpha6:*:*:*:node.js:*:*", "matchCriteriaId": "77D8118B-0A0C-467A-B60A-29F1C9C1B964" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA" } ] } ] } ], "references": [ { "url": "https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v", "source": "security-advisories@github.com", "tags": [ "Mitigation", "Third Party Advisory" ] } ] }