CVE-2024-29032
Python vulnerability analysis and mitigation

Overview

CVE-2024-29032 affects Qiskit IBM Runtime, an environment that streamlines quantum computations and provides optimal implementations of the Qiskit quantum computing SDK. The vulnerability exists in versions 0.1.0 through 0.21.2, where deserializing JSON data using qiskit_ibm_runtime.RuntimeDecoder can lead to arbitrary code execution when provided with a correctly formatted input string. The issue was discovered in March 2024 and has been fixed in version 0.21.2 (GitHub Advisory).

Technical details

The vulnerability stems from the RuntimeDecoder's implementation which allows unrestricted deserialization of JSON strings containing special types encoded via RuntimeEncoder. The issue lies in the code block that uses importlib.import_module() and inspect.getmembers() without proper validation, allowing attackers to craft malicious payloads that can spawn subprocesses and execute arbitrary code. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (GitHub Advisory).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary code within the context of the application. The impact is particularly concerning when the library is used to deserialize third-party data. The vulnerability could potentially affect both client-side applications and server-side implementations that use the RuntimeDecoder for JSON deserialization (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.21.2 of Qiskit IBM Runtime. Users are strongly advised to upgrade to this version or later. The fix involves restricting the import path for deserialization to prevent arbitrary code execution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62703HIGH8.8
  • PythonPython
  • fugue
NoNoNov 25, 2025
CVE-2025-66019MEDIUM6.6
  • PythonPython
  • pypdf
NoYesNov 26, 2025
GHSA-m449-cwjh-6pw7MEDIUM6.6
  • PythonPython
  • pypdf
NoYesNov 24, 2025
CVE-2021-4472MEDIUM6.5
  • PythonPython
  • mistral-dashboard
NoYesNov 26, 2025
GHSA-j4gv-6x9v-v23gLOW1.3
  • PythonPython
  • omero-web
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management