CVE-2021-42343

NameCVE-2021-42343
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dask.distributed (PTS)buster1.25.0+ds.1-1vulnerable
bullseye2021.01.0+ds.1-2.1vulnerable
bookworm, sid2021.09.1+ds.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dask.distributedsource(unstable)2021.09.1+ds.1-2

Notes

[bullseye] - dask.distributed <no-dsa> (Minor issue; can be fixed via point release)
[buster] - dask.distributed <no-dsa> (Minor issue; can be fixed via point release)
https://github.com/dask/distributed/pull/5427
https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr

Search for package or bug name: Reporting problems