{"answers":{"affected":"8 open source packages ship an affected version, including electron. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-29247 in the wild and no public exploit code.","fix":"Upgrade electron to a fixed version for your release line: 15.5.5, 16.2.6, 17.2.0 or 18.0.0-beta.6.","what":"CVE-2022-29247 is a low-severity missing authorization vulnerability in Electronjs Electron, published on 13 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-29247 and fix it if it is affected.\n\nWhat it is: CVE-2022-29247 is a low-severity missing authorization vulnerability in Electronjs Electron, published on 13 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-29247 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electron (npm): affected all versions; fixed in 15.5.5\n- electron (npm): affected all versions; fixed in 15.5.5\n- electron (npm): affected from 16.0.0; fixed in 16.2.6\n- electron (npm): affected from 16.0.0; fixed in 16.2.6\n- electron (npm): affected from 17.0.0; fixed in 17.2.0\n- electron (npm): affected from 17.0.0; fixed in 17.2.0\n- electron (npm): affected from 18.0.0-beta.1; fixed in 18.0.0-beta.6\n- electron (npm): affected from 18.0.0-beta.1; fixed in 18.0.0-beta.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-29247/ (Markdown: https://insights.sbomify.com/CVE-2022-29247/index.md)","id":"CVE-2022-29247","markdown":"https://insights.sbomify.com/CVE-2022-29247/index.md","name":"CVE-2022-29247","record":{"aliases":["GHSA-mq8j-3h7h-p8g7"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Electron framework","requires_auth":"high_privilege","summary":"Attackers can access privileged IPC channels in sandboxed Electron apps if nodeIntegrationInSubFrames is enabled and senderFrame validation is missing.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"electron","vendor":"electronjs"}],"cvss":{"score":2.2,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"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`.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Exposure of Resource to Wrong Sphere in Electron","id":"CVE-2022-29247","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"electronjs:electron","products":["electronjs:electron"],"type":"missing_authorization","year":"2022"},"n_packages":8,"n_references":1,"next":{"headline":"Cross-domain cookie leakage in Guzzle","id":"CVE-2022-29248"},"packages":[{"ecosystem":"npm","fixed":["15.5.5"],"introduced":["0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["15.5.5"],"introduced":["0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["16.2.6"],"introduced":["16.0.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["16.2.6"],"introduced":["16.0.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["17.2.0"],"introduced":["17.0.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["17.2.0"],"introduced":["17.0.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["18.0.0-beta.6"],"introduced":["18.0.0-beta.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-mq8j-3h7h-p8g7"},{"ecosystem":"npm","fixed":["18.0.0-beta.6"],"introduced":["18.0.0-beta.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-mq8j-3h7h-p8g7"}],"prev":{"headline":"Potential buffer overflow in function DFU upload in Azure RTOS USBX","id":"CVE-2022-29246"},"products":["electron"],"published":"2022-06-13","related":[{"cvss_score":9.8,"headline":"Chromium Remote Code Execution in electron","id":"CVE-2017-16151","kev_date_added":null,"published":"2018-06-07"},{"cvss_score":8.8,"headline":"Electron protocol handler browser vulnerable to Command Injection","id":"CVE-2018-1000118","kev_date_added":null,"published":"2018-03-07"},{"cvss_score":8.4,"headline":"Electron: Context Isolation bypass via contextBridge VideoFrame transfer","id":"CVE-2026-34780","kev_date_added":null,"published":"2026-04-04"},{"cvss_score":8.3,"headline":"Electron: \u003cwebview\u003e can enable Node.js integration in Web Workers despite embedder restrictions","id":"CVE-2026-102676","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.2,"headline":"Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab","id":"CVE-2026-102673","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.2,"headline":"Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions","id":"CVE-2026-102674","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.1,"headline":"Electron: Use-after-free in offscreen child window paint callback","id":"CVE-2026-34774","kev_date_added":null,"published":"2026-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["electron"]},"summary":"Attackers can access privileged IPC channels in sandboxed Electron apps if nodeIntegrationInSubFrames is enabled and senderFrame validation is missing.","url":"https://insights.sbomify.com/CVE-2022-29247/"}