Qiskit SDK code execution
IBM Qiskit SDK
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| qiskit-terra PyPI |
| No fix yet |
| qiskit PyPI |
|
|
IBM Qiskit SDK
| Product | Affected | Fixed in |
|---|---|---|
| qiskit-terra PyPI |
| No fix yet |
| qiskit PyPI |
|
|
A maliciously crafted QPY file can potential execute arbitrary-code embedded in the payload without privilege escalation when deserialising QPY formats < 13. A python process calling Qiskit 0.18.0 through 1.4.1's `qiskit.qpy.load()` function could potentially execute any arbitrary Python code embedded in the correct place in the binary file as part of specially constructed payload.
From the CVE record · ibm
Deserializing a maliciously crafted QPY file with a format version below 13 can execute embedded Python code through `qiskit.qpy.load()`. Exploitation requires a Python process to load the crafted file; the input does not specify a network or authentication requirement.
Check installations of PyPI `qiskit-terra` versions 0.18.0 through 0.46.3 and PyPI `qiskit` versions below 1.4.2 or from 2.0.0rc1 up to, but not including, 2.0.0rc2.