Security mailing lists by PureSourceCode

CVE-2021-42343

CRITICAL 9.8CVSS 3.1

Workers for local Dask clusters mistakenly listened on public interfaces

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.

Published
26 Oct 2021
Last modified
9 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-668
Also known as
GHSA-hwqr-f3v9-hwxrGHSA-j8fq-86c5-5v2rPYSEC-2021-387PYSEC-2021-871PYSEC-2021-872
Sources
NVDJSONOSV GHSA-hwqr-f3v9-hwxrJSONOSV GHSA-j8fq-86c5-5v2rJSONOSV PYSEC-2021-387JSONOSV PYSEC-2021-871JSONOSV PYSEC-2021-872JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD anaconda dask
cpe:2.3:a:anaconda:dask:*:*:*:*:*:python:*:*
< 2021.10.0 2021.10.0
OSV PyPI distributed < 2021.10.0 2021.10.0
OSV PyPI dask < 2021.10.0 2021.10.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 26 Oct 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Oct 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Oct 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Oct 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jul 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.