Vulnerabilities / CVE-2021-42343

critical

CVE-2021-42343

An issue was discovered in the Dask distributed package before 2021.10 ...

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).

Description

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 packages and fixed versions

SourcePackageFixed in
pip::GitHub Security Advisory pipdistributed2021.10.0
alpine 3.16py3-dask2022.2.0-r0
alpine 3.17py3-dask2022.2.0-r0
alpine 3.18py3-dask2022.2.0-r0
alpine 3.19py3-dask2022.2.0-r0
alpine 3.20py3-dask2022.2.0-r0
alpine 3.21py3-dask2022.2.0-r0
alpine 3.22py3-dask2022.2.0-r0
alpine 3.23py3-dask2022.2.0-r0
alpine 3.24py3-dask2022.2.0-r0
alpine edgepy3-dask2022.2.0-r0
debian 10dask.distributedno fix listed
Show all 19 entries from 19 sources
SourcePackageFixed in
pip::GitHub Security Advisory pipdistributed2021.10.0
alpine 3.16py3-dask2022.2.0-r0
alpine 3.17py3-dask2022.2.0-r0
alpine 3.18py3-dask2022.2.0-r0
alpine 3.19py3-dask2022.2.0-r0
alpine 3.20py3-dask2022.2.0-r0
alpine 3.21py3-dask2022.2.0-r0
alpine 3.22py3-dask2022.2.0-r0
alpine 3.23py3-dask2022.2.0-r0
alpine 3.24py3-dask2022.2.0-r0
alpine edgepy3-dask2022.2.0-r0
debian 10dask.distributedno fix listed
debian 11dask.distributed2021.01.0+ds.1-2.1+deb11u1
debian 12dask.distributed2021.09.1+ds.1-2
debian 13dask.distributed2021.09.1+ds.1-2
debian 14dask.distributed2021.09.1+ds.1-2
echodask.distributed2021.09.1+ds.1-2
ubuntu 18.04-ESMdask.distributedno fix listed
ubuntu 20.04-ESMdask.distributedno fix listed

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.