Critical severity · published Oct 26, 2021
CVE-2021-42343
An issue was discovered in the Dask distributed package before 2021.10.0 for Python
9.8
CVSS
3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.0% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DA
Dask · Anaconda
before 2021.10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-42343
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-42343
Release Notes
https://docs.dask.org/en/latest/changelog.html
Third Party Advisory
https://github.com/dask/dask/tags
Third Party Advisory
https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr
More from Dask
6.1
CVE-2026-23528
Dask distributed Vulnerable to Remote Code Execution via Jupyter Proxy and Dashboard
