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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dask.distributed | 2021.09.1+ds.1-2 | — |
| Debian 13 | dask.distributed | 2021.09.1+ds.1-2 | — |
| Debian 12 | dask.distributed | 2021.09.1+ds.1-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | dask.distributed | No fix yet | — |
| Ubuntu 18.04 LTS | dask.distributed | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-distributed | 2022.1.0-1.1 | openSUSE-SU-2026:11043-1, openSUSE-SU-2024:13920-1, openSUSE-SU-2024:11766-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.23 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.22 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.21 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.20 | py3-dask | 2022.2.0-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.18 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.17 | py3-dask | 2022.2.0-r0 | — |
| Alpine v3.16 | py3-dask | 2022.2.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | dask | < 2021.10.0 | 2021.10.0 | PYSEC-2021-387 |
| PyPI | distributed | < 2021.10.0 | 2021.10.0 | GHSA-hwqr-f3v9-hwxr |
Advisories 3
- openSUSE-SU-2026:11043-1 python313-distributed-2026.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 17, 2026
- openSUSE-SU-2024:13920-1 python310-distributed-2024.4.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11766-1 python38-distributed-2022.1.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026