CVE-2021-42343: Critical severity dask vulnerability
An issue was discovered in Dask (aka python-dask) through 2021.09.1. Single machine Dask clusters started with dask.distributed.LocalCluster or dask.distributed.Client (which defaults to using LocalCluster) would mistakenly configure their respective Dask workers to listen on external interfaces (typically with a randomly selected high port) rather than only on localhost. A Dask cluster created using this method (when running on a machine that has an applicable port exposed) could be used by a sophisticated attacker to achieve remote code execution.
Other sources
An issue was discovered in the Dask distributed package before 2021.10.0 for Python. Single machine Dask clusters started with dask.distributed.LocalCluster or dask.distributed.Client (which defaults to using LocalCluster) would mistakenly configure their respective Dask workers to listen on external interfaces (typically with a randomly selected high port) rather than only on localhost. A Dask cluster created using this method (when running on a machine that has an applicable port exposed) could be used by a sophisticated attacker to achieve remote code execution.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-42343?
CVE-2021-42343 is a vulnerability in the Dask distributed package before 2021.10.0 for Python.
How severe is CVE-2021-42343?
CVE-2021-42343 is rated as critical with a severity score of 9.8.
What software is affected by CVE-2021-42343?
The following software is affected by CVE-2021-42343: Dask (python-dask) through 2021.09.1, Anaconda Dask up to version 2021.10.0.
How can I fix CVE-2021-42343?
To fix CVE-2021-42343, upgrade to Dask distributed package version 2021.10.0 or higher.
Where can I find more information about CVE-2021-42343?
You can find more information about CVE-2021-42343 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-42343), [Dask Changelog](https://docs.dask.org/en/latest/changelog.html), [Dask GitHub Security Advisory](https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr).