Race Condition Affecting dwave-cloud-client package, versions [,0.12.0.dev0)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-DWAVECLOUDCLIENT-7413677
- published 1 Jul 2024
- disclosed 1 Jul 2024
- credit Unknown
How to fix?
Upgrade dwave-cloud-client
to version 0.12.0.dev0 or higher.
Overview
dwave-cloud-client is an A minimal client for interacting with D-Wave cloud resources.
Affected versions of this package are vulnerable to Race Condition when binary answer downloads were initiated multiple times in parallel. Previously, the write operation to the answer_data
file was not thread-safe or atomic, resulting in data corruption during parallel downloads of the same answer.