{"answers":{"affected":"3 open source packages ship an affected version, including qiskit-ibm-runtime. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29032 exists.","fix":"Upgrade qiskit-ibm-runtime to 0.21.2 or later.","what":"CVE-2024-29032 is a medium-severity unsafe deserialization vulnerability in qiskit-ibm-runtime, published on 20 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29032 and fix it if it is affected.\n\nWhat it is: CVE-2024-29032 is a medium-severity unsafe deserialization vulnerability in qiskit-ibm-runtime, published on 20 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29032 exists.\n\nAffected packages and fixed versions:\n- qiskit-ibm-runtime (PyPI): affected from 0.1.0; fixed in 0.21.2\n- qiskit-ibm-runtime (PyPI): affected from 0.1.0; fixed in 0.21.2\n- qiskit-ibm-runtime (PyPI): affected from 0.1.0; fixed in 0.21.2\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-29032/ (Markdown: https://insights.sbomify.com/CVE-2024-29032/index.md)","id":"CVE-2024-29032","markdown":"https://insights.sbomify.com/CVE-2024-29032/index.md","name":"CVE-2024-29032","record":{"aliases":["GHSA-x4x5-jv3x-9c7m","PYSEC-2026-1858"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Qiskit IBM Runtime","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code by providing malicious JSON input to the RuntimeDecoder in the Qiskit IBM Runtime library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"qiskit_ibm_runtime","vendor":"ibm"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Qiskit IBM Runtime is an environment that streamlines quantum computations and provides optimal implementations of the Qiskit quantum computing SDK. Starting in version 0.1.0 and prior to version 0.21.2, deserializing json data using `qiskit_ibm_runtime.RuntimeDecoder` can lead to arbitrary code execution given a correctly formatted input string. Version 0.21.2 contains a fix for this issue.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"`qiskit_ibm_runtime.RuntimeDecoder` can execute arbitrary code","id":"CVE-2024-29032","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"deserialization","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"GoogleOAuthenticator.hosted_domain incorrectly verifies membership of an Google organization/workspace","id":"CVE-2024-29033"},"packages":[{"ecosystem":"PyPI","fixed":["0.21.2"],"introduced":["0.1.0"],"last_affected":[],"package":"qiskit-ibm-runtime","purl":null,"source":"GHSA-x4x5-jv3x-9c7m"},{"ecosystem":"PyPI","fixed":["0.21.2"],"introduced":["0.1.0"],"last_affected":[],"package":"qiskit-ibm-runtime","purl":"pkg:pypi/qiskit-ibm-runtime","source":"GHSA-x4x5-jv3x-9c7m"},{"ecosystem":"PyPI","fixed":["0.21.2"],"introduced":["0.1.0"],"last_affected":[],"package":"qiskit-ibm-runtime","purl":"pkg:pypi/qiskit-ibm-runtime","source":"PYSEC-2026-1858"}],"prev":{"headline":"Meshery SQL Injection vulnerability","id":"CVE-2024-29031"},"products":["qiskit-ibm-runtime"],"published":"2024-03-20","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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Qiskit"]},"summary":"Attackers can execute arbitrary code by providing malicious JSON input to the RuntimeDecoder in the Qiskit IBM Runtime library.","url":"https://insights.sbomify.com/CVE-2024-29032/"}