{"answers":{"affected":"4 open source packages ship an affected version, including livebook. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-35174 in the wild and no public exploit code.","fix":"Upgrade livebook to a fixed version for your release line: 0.8.2 or 0.9.3.","what":"CVE-2023-35174 is a high-severity command injection vulnerability in livebook-dev livebook, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-35174 and fix it if it is affected.\n\nWhat it is: CVE-2023-35174 is a high-severity command injection vulnerability in livebook-dev livebook, published on 22 Jun 2023. 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-2023-35174 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- livebook (Hex): affected from 0.8.0; fixed in 0.8.2\n- livebook (Hex): affected from 0.8.0; fixed in 0.8.2\n- livebook (Hex): affected from 0.9.0; fixed in 0.9.3\n- livebook (Hex): affected from 0.9.0; fixed in 0.9.3\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-35174/ (Markdown: https://insights.sbomify.com/CVE-2023-35174/index.md)","id":"CVE-2023-35174","markdown":"https://insights.sbomify.com/CVE-2023-35174/index.md","name":"CVE-2023-35174","record":{"aliases":["GHSA-564w-97r7-c6p9"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Livebook Desktop","requires_auth":"none","summary":"Attackers can execute arbitrary commands on Windows machines by tricking users into opening a malicious Livebook protocol link.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"livebook","vendor":"livebook"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Livebook is a web application for writing interactive and collaborative code notebooks. On Windows, it is possible to open a `livebook://` link from a browser which opens Livebook Desktop and triggers arbitrary code execution on victim's machine. Any user using Livebook Desktop on Windows is potentially vulnerable to arbitrary code execution when they expect Livebook to be opened from browser. This vulnerability has been fixed in version 0.8.2 and 0.9.3.","ecosystems":["Hex"],"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":"Livebook Desktop's protocol handler can be exploited to execute arbitrary command on Windows","id":"CVE-2023-35174","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":4,"n_references":5,"next":{"headline":"Server-side request forgery in HP LaserJet Pro","id":"CVE-2023-35175"},"packages":[{"ecosystem":"Hex","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"livebook","purl":null,"source":"GHSA-564w-97r7-c6p9"},{"ecosystem":"Hex","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"livebook","purl":"pkg:hex/livebook","source":"GHSA-564w-97r7-c6p9"},{"ecosystem":"Hex","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"livebook","purl":null,"source":"GHSA-564w-97r7-c6p9"},{"ecosystem":"Hex","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"livebook","purl":"pkg:hex/livebook","source":"GHSA-564w-97r7-c6p9"}],"prev":{"headline":"End-to-End encrypted file-drops can be made inaccessible","id":"CVE-2023-35173"},"products":["livebook"],"published":"2023-06-22","related":[{"cvss_score":8.6,"headline":"JS-view sandboxed output can synthesize keyboard events to trigger unconfirmed global shortcuts","id":"CVE-2026-66298","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.7,"headline":"Livebook Teams identity check fails open when the deployment group is unresolvable, allowing unauthenticated access","id":"CVE-2026-68746","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7,"headline":"Path traversal in imported file_entries name allows arbitrary file write via URL-type entry download","id":"CVE-2026-66881","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":6.8,"headline":"Livebook Teams identity callback lacks state binding, allowing login CSRF","id":"CVE-2026-66885","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":5,"headline":"Unescaped deployment environment variables in generated setup commands","id":"CVE-2026-66297","kev_date_added":null,"published":"2026-08-05"}],"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-12-06","vendors":["livebook-dev"]},"summary":"Attackers can execute arbitrary commands on Windows machines by tricking users into opening a malicious Livebook protocol link.","url":"https://insights.sbomify.com/CVE-2023-35174/"}