CVE-2021-42343Anaconda Dask
Critical 9.8 No auth needed
Follow: this CVE · Anaconda · Anaconda Dask We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Oct 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dask.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dask |
< 2021.10.0 |
2021.10.0 |
pip install "dask>=2021.10.0" |
| PyPI | distributed |
< 2021.10.0 |
2021.10.0 |
pip install "distributed>=2021.10.0" |
| PyPI | distributed |
< 2021.10.0 |
2021.10.0 |
pip install "distributed>=2021.10.0" |
Per OSV / GitHub Advisories (PYSEC-2021-387, GHSA-hwqr-f3v9-hwxr, PYSEC-2021-871). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| anaconda | dask | < 2021.10.0 |
Official advisories
- python313-distributed-2026.6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11043-1 · Jun 16, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.dask.org Release Notes Vendor Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory