VDB
KO

PYSEC-2021-387

Details

An issue was discovered in Dask (aka python-dask) through 2021.09.1. 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / dask
Introduced in: 0 Fixed in: 2021.10.0
Fix pip install --upgrade 'dask>=2021.10.0'

References