Skip to main content
Network Thinking Solutions Logo

CVE-2022-29247

Exposure of Resource to Wrong Sphere in Electron

All CVEs
CVE-2022-29247Published 6/13/2022

Exposure of Resource to Wrong Sphere in Electron

Vendor advisory
CVSS9.8Critical

Overview

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

Published
6/13/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
electron
electronjs
< 15.5.5

Verify advisory

Source
electron
electronjs
≥ 16.0.1, < 16.2.6

Verify advisory

Source
electron
electronjs
≥ 17.0.1, < 17.2.0

Verify advisory

Source
electron
electronjs
16.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
17.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
18.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electron
< 15.5.5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 16.0.0-beta.1, < 16.2.6

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 17.0.0-beta.1, < 17.2.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 18.0.0-beta.1, <= 18.0.0-beta.5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.