Vulnerability · Published Oct 26, 2021 · Assigned by mitre

CVE-2021-42343

Critical 9.8

In plain English

A critical-severity security flaw in the py3-dask package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.0%top 12.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-dask2022.2.0-r0ALPINE-CVE-2021-42343
Alpine:v3.21py3-dask2022.2.0-r0ALPINE-CVE-2021-42343
Alpine:v3.22py3-dask2022.2.0-r0ALPINE-CVE-2021-42343
Alpine:v3.23py3-dask2022.2.0-r0ALPINE-CVE-2021-42343
Alpine:v3.24py3-dask2022.2.0-r0ALPINE-CVE-2021-42343
Debian:12dask.distributed2021.09.1+ds.1-2DEBIAN-CVE-2021-42343
Debian:13dask.distributed2021.09.1+ds.1-2DEBIAN-CVE-2021-42343
Debian:14dask.distributed2021.09.1+ds.1-2DEBIAN-CVE-2021-42343
PyPIdask2021.10.0PYSEC-2021-387
PyPIdask2021.10.0GHSA-j8fq-86c5-5v2r
PyPIdistributed2021.10.0PYSEC-2021-871
PyPIdistributed2021.10.0PYSEC-2021-872
PyPIdistributed2021.10.0GHSA-hwqr-f3v9-hwxr

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References