{"answers":{"affected":"2 open source packages ship an affected version, including @electron/packager. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-29900 in the wild and no public exploit code.","fix":"Upgrade @electron/packager to 18.3.1 or later.","what":"CVE-2024-29900 is a high-severity vulnerability in electron packager, published on 29 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29900 and fix it if it is affected.\n\nWhat it is: CVE-2024-29900 is a high-severity vulnerability in electron packager, published on 29 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-29900 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @electron/packager (npm): affected from 18.3.0; fixed in 18.3.1\n- @electron/packager (npm): affected from 18.3.0; fixed in 18.3.1\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-2024-29900/ (Markdown: https://insights.sbomify.com/CVE-2024-29900/index.md)","id":"CVE-2024-29900","markdown":"https://insights.sbomify.com/CVE-2024-29900/index.md","name":"CVE-2024-29900","record":{"aliases":["GHSA-34h3-8mw4-qw57"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Electron packaging tool","requires_auth":"none","summary":"Electron Packager may leak sensitive Node.js heap memory into final executables, exposing secrets to attackers who obtain the distributed application.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"packager","vendor":"openjsf"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-402","name":"Transmission of Private Resources into a New Sphere"}],"description":"Electron Packager bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution. A random segment of ~1-10kb of Node.js heap memory allocated either side of a known buffer will be leaked into the final executable. This memory _could_ contain sensitive information such as environment variables, secrets files, etc. This issue is patched in 18.3.1.","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":"@electron/packager's build process memory potentially leaked into final executable","id":"CVE-2024-29900","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"@workos-inc/authkit-nextjs session replay vulnerability","id":"CVE-2024-29901"},"packages":[{"ecosystem":"npm","fixed":["18.3.1"],"introduced":["18.3.0"],"last_affected":[],"package":"@electron/packager","purl":null,"source":"GHSA-34h3-8mw4-qw57"},{"ecosystem":"npm","fixed":["18.3.1"],"introduced":["18.3.0"],"last_affected":[],"package":"@electron/packager","purl":"pkg:npm/%40electron/packager","source":"GHSA-34h3-8mw4-qw57"}],"prev":{"headline":"Oversight in fix for GHSA-4rcf-3cj2-46mq may have exposed suppressed wiki requests on private wikis","id":"CVE-2024-29898"},"products":["packager"],"published":"2024-03-29","related":[],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["electron"]},"summary":"Electron Packager may leak sensitive Node.js heap memory into final executables, exposing secrets to attackers who obtain the distributed application.","url":"https://insights.sbomify.com/CVE-2024-29900/"}