Context isolation bypass via unserializable bridge returns
Published Sep 6, 2023 · Updated Sep 26, 2024
Context isolation bypass in affected Electron releases allows attackers to perform privileged actions through a renderer. When an exposed contextBridge API returns a nested unserializable object or a getter throws during transfer, bridge error handling leaves main-world code able to reach the isolated context. Exploitation requires contextIsolation and contextBridge plus a reachable API with one of those exceptional return paths; resulting actions are limited to privileges available in the isolated context.
Summary
What happened
Context isolation bypass in affected Electron releases allows attackers to perform privileged actions through a renderer. When an exposed contextBridge API returns a nested unserializable object or a getter throws during transfer, bridge error handling leaves main-world code able to reach the isolated context. Exploitation requires contextIsolation and contextBridge plus a reachable API with one of those exceptional return paths; resulting actions are limited to privileges available in the isolated context.
The record
- CVE
- CVE-2023-29198
- Published
- Sep 6, 2023
- Updated
- Sep 26, 2024
- Vendor
- Electron
- Product
- Electron
- Classifications
- CWE-754, T1203
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 6, 2023CVE publishedPublication date reported by the CVE source.
- Sep 26, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 22.3.6
- Affected versionversion=>= 23.0.0, < 23.2.3
- Affected versionversion=>= 24.0.0, < 24.0.1
- Affected versionversion=>= 25.0.0-alpha.1, < 25.0.0-alpha.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo