{"answers":{"affected":"12 open source packages ship an affected version, including electron. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-44402 in the wild and no public exploit code.","fix":"Upgrade electron to a fixed version for your release line: 22.3.24, 24.8.3, 25.8.1 or 26.2.1.","what":"CVE-2023-44402 is a medium-severity vulnerability in Electronjs Electron, published on 1 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-44402 and fix it if it is affected.\n\nWhat it is: CVE-2023-44402 is a medium-severity vulnerability in Electronjs Electron, published on 1 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-44402 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electron (npm): affected all versions; fixed in 22.3.24\n- electron (npm): affected all versions; fixed in 22.3.24\n- electron (npm): affected from 23.0.0-alpha.1 up to 23.3.13; no fix listed\n- electron (npm): affected from 23.0.0-alpha.1 up to 23.3.13; no fix listed\n- electron (npm): affected from 24.0.0-alpha.1; fixed in 24.8.3\n- electron (npm): affected from 24.0.0-alpha.1; fixed in 24.8.3\n- electron (npm): affected from 25.0.0-alpha.1; fixed in 25.8.1\n- electron (npm): affected from 25.0.0-alpha.1; fixed in 25.8.1\n- electron (npm): affected from 26.0.0-alpha.1; fixed in 26.2.1\n- electron (npm): affected from 26.0.0-alpha.1; fixed in 26.2.1\n- electron (npm): affected from 27.0.0-alpha.1; fixed in 27.0.0-alpha.7\n- electron (npm): affected from 27.0.0-alpha.1; fixed in 27.0.0-alpha.7\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-2023-44402/ (Markdown: https://insights.sbomify.com/CVE-2023-44402/index.md)","id":"CVE-2023-44402","markdown":"https://insights.sbomify.com/CVE-2023-44402/index.md","name":"CVE-2023-44402","record":{"aliases":["GHSA-7m48-wc93-9g85"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Electron framework","requires_auth":"low_privilege","summary":"Attackers can bypass ASAR integrity checks on macOS if specific fuses are enabled and they have write access to the app bundle.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"electron","vendor":"electronjs"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. This only impacts apps that have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses enabled.  Apps without these fuses enabled are not impacted.  This issue is specific to macOS as these fuses are only currently supported on macOS. Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too.  i.e. the ability to edit files inside the `.app` bundle on macOS which these fuses are supposed to protect against. There are no app side workarounds, you must update to a patched version of Electron.","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":"ASAR Integrity bypass via filetype confusion in electron","id":"CVE-2023-44402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"electronjs:electron","products":["electronjs:electron"],"type":"security_feature_bypass","year":"2023"},"n_packages":12,"n_references":3,"next":{"headline":"D-Link DAP-1325 HNAP SetWLanRadioSettings Channel Command Injection Remote Code Execution Vulnerability","id":"CVE-2023-44403"},"packages":[{"ecosystem":"npm","fixed":["22.3.24"],"introduced":["0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["22.3.24"],"introduced":["0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":[],"introduced":["23.0.0-alpha.1"],"last_affected":["23.3.13"],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":[],"introduced":["23.0.0-alpha.1"],"last_affected":["23.3.13"],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["24.8.3"],"introduced":["24.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["24.8.3"],"introduced":["24.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["25.8.1"],"introduced":["25.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["25.8.1"],"introduced":["25.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["26.2.1"],"introduced":["26.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["26.2.1"],"introduced":["26.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["27.0.0-alpha.7"],"introduced":["27.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-7m48-wc93-9g85"},{"ecosystem":"npm","fixed":["27.0.0-alpha.7"],"introduced":["27.0.0-alpha.1"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-7m48-wc93-9g85"}],"prev":{"headline":"Silverstripe GraqhQL's view permissions are bypassed for paginated lists of ORM data","id":"CVE-2023-44401"},"products":["electron"],"published":"2023-12-01","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["electron"]},"summary":"Attackers can bypass ASAR integrity checks on macOS if specific fuses are enabled and they have write access to the app bundle.","url":"https://insights.sbomify.com/CVE-2023-44402/"}