Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2022-29247

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-13 Jun, 2022 | 21:05
Updated At-23 Apr, 2025 | 18:16
Rejected At-
Credits

Exposure of Resource to Wrong Sphere in Electron

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. The `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs, which include `ipcRenderer`. If the application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate `senderFrame`.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:13 Jun, 2022 | 21:05
Updated At:23 Apr, 2025 | 18:16
Rejected At:
▼CVE Numbering Authority (CNA)
Exposure of Resource to Wrong Sphere in Electron

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. The `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs, which include `ipcRenderer`. If the application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate `senderFrame`.

Affected Products
Vendor
Electron Userlandelectron
Product
electron
Versions
Affected
  • < 15.5.5
  • >= 16.0.0-beta.1, < 16.2.6
  • >= 17.0.0-beta.1, < 17.2.0
  • >= 18.0.0-beta.1, <= 18.0.0-beta.5
Problem Types
TypeCWE IDDescription
CWECWE-668CWE-668: Exposure of Resource to Wrong Sphere
Type: CWE
CWE ID: CWE-668
Description: CWE-668: Exposure of Resource to Wrong Sphere
Metrics
VersionBase scoreBase severityVector
3.12.2LOW
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Version: 3.1
Base score: 2.2
Base severity: LOW
Vector:
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7
x_refsource_CONFIRM
Hyperlink: https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7
Resource:
x_refsource_CONFIRM
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7
Resource:
x_refsource_CONFIRM
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:13 Jun, 2022 | 21:15
Updated At:27 Jun, 2022 | 16:55

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows a renderer with JS execution to obtain access to a new renderer process with `nodeIntegrationInSubFrames` enabled which in turn allows effective access to `ipcRenderer`. The `nodeIntegrationInSubFrames` option does not implicitly grant Node.js access. Rather, it depends on the existing sandbox setting. If an application is sandboxed, then `nodeIntegrationInSubFrames` just gives access to the sandboxed renderer APIs, which include `ipcRenderer`. If the application then additionally exposes IPC messages without IPC `senderFrame` validation that perform privileged actions or return confidential data this access to `ipcRenderer` can in turn compromise your application / user even with the sandbox enabled. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. As a workaround, ensure that all IPC message handlers appropriately validate `senderFrame`.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Secondary3.12.2LOW
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Primary2.06.8MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
Type: Primary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 2.2
Base severity: LOW
Vector:
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Type: Primary
Version: 2.0
Base score: 6.8
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:P/I:P/A:P
CPE Matches

Electron (OpenJS Foundation)
electronjs
>>electron>>Versions before 15.5.5(exclusive)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>Versions from 16.0.1(inclusive) to 16.2.6(exclusive)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>Versions from 17.0.1(inclusive) to 17.2.0(exclusive)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta1:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta2:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta3:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta4:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta5:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta6:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta7:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta8:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>16.0.0
cpe:2.3:a:electronjs:electron:16.0.0:beta9:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta1:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta2:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta3:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta4:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta5:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta6:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta7:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta8:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>17.0.0
cpe:2.3:a:electronjs:electron:17.0.0:beta9:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>18.0.0
cpe:2.3:a:electronjs:electron:18.0.0:beta1:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>18.0.0
cpe:2.3:a:electronjs:electron:18.0.0:beta2:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>18.0.0
cpe:2.3:a:electronjs:electron:18.0.0:beta3:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>18.0.0
cpe:2.3:a:electronjs:electron:18.0.0:beta4:*:*:*:*:*:*
Electron (OpenJS Foundation)
electronjs
>>electron>>18.0.0
cpe:2.3:a:electronjs:electron:18.0.0:beta5:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-668Primarysecurity-advisories@github.com
CWE ID: CWE-668
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7security-advisories@github.com
Third Party Advisory
Hyperlink: https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7
Source: security-advisories@github.com
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found