CVE-2021-42343: Critical severity dask vulnerability

Published Oct 26, 2021
·
Updated

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

2 affected componentsFixes available
pip/dask>=0<2021.10.0
2021.10.0
Anaconda Dask Python<2021.10.0

Event History

Oct 26, 2021
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description
Data Sourced
via NVD·11:15 AM
DescriptionSeverityAffected Software
Oct 27, 2021
Advisory Published
06:53 PM

Frequently Asked Questions

1

What is CVE-2021-42343?

CVE-2021-42343 is a vulnerability in the Dask distributed package before 2021.10.0 for Python.

2

How severe is CVE-2021-42343?

CVE-2021-42343 is rated as critical with a severity score of 9.8.

3

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.

4

How can I fix CVE-2021-42343?

To fix CVE-2021-42343, upgrade to Dask distributed package version 2021.10.0 or higher.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203