Live threats

All CVEs / Anaconda

CVE-2021-42343Anaconda Dask

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dask.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
anacondadask< 2021.10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.