9.8
CRITICAL
CVE-2022-29247
Electron Allowed Renderer Process Escalation Through Node Integration in Subframes
Description

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`.

INFO

Published Date :

June 13, 2022, 9:15 p.m.

Last Modified :

June 27, 2022, 4:55 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2022-29247 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-29247 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Electronjs electron
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-29247.

URL Resource
https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 2 months, 3 weeks ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 8 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

None

Updated: 9 months ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

A curated list of awesome resources about Electron.js (in)security

Updated: 2 months, 2 weeks ago
560 stars 58 fork 58 watcher
Born at : June 1, 2020, 10:02 a.m. This repo has been linked 10 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-29247 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-29247 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jun. 27, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 No Types Assigned https://github.com/electron/electron/security/advisories/GHSA-mq8j-3h7h-p8g7 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions up to (excluding) 15.5.5 *cpe:2.3:a:electronjs:electron:16.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:16.0.0:beta9:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 16.0.1 up to (excluding) 16.2.6 *cpe:2.3:a:electronjs:electron:17.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta5:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta6:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta7:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta8:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:17.0.0:beta9:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* versions from (including) 17.0.1 up to (excluding) 17.2.0 *cpe:2.3:a:electronjs:electron:18.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:electronjs:electron:18.0.0:beta5:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-29247 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-29247 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.26 }} -0.02%

score

0.63755

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability