GHSA-j8fq-86c5-5v2r

Source
https://github.com/advisories/GHSA-j8fq-86c5-5v2r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-j8fq-86c5-5v2r/GHSA-j8fq-86c5-5v2r.json
Aliases
Published
2021-10-27T18:53:48Z
Modified
2023-11-08T04:07:05.712118Z
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.

References

Affected packages

PyPI / distributed

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
2021.10.0

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.3.0
1.3.1
1.3.2
1.3.3
1.4.0
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.8.0
1.8.1
1.9.0
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.10.0
1.10.1
1.10.2
1.11.0
1.11.1
1.11.2
1.11.3
1.12.0
1.12.1
1.12.2
1.13.0
1.13.1
1.13.2
1.13.3
1.14.0
1.14.1
1.14.3
1.15.0rc1
1.15.0
1.15.1
1.15.2
1.16.0
1.16.1
1.16.2
1.16.3
1.17.0
1.17.1
1.18.0
1.18.1
1.18.2
1.18.3
1.19.0
1.19.1
1.19.2
1.19.3
1.20.0
1.20.1
1.20.2
1.21.0
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
1.22.0
1.22.1
1.23.0
1.23.1
1.23.2
1.23.3
1.24.0
1.24.1
1.24.2
1.25.0
1.25.1
1.25.2
1.25.3
1.26.0
1.26.1
1.27.0
1.27.1
1.28.0
1.28.1

2.*

2.0.1
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2
2.4.0
2.5.0
2.5.1
2.5.2
2.6.0
2.7.0
2.8.0
2.8.1
2.9.0
2.9.1
2.9.2
2.9.3
2.10.0
2.11.0
2.12.0
2.13.0
2.14.0
2.15.0
2.15.1
2.15.2
2.16.0
2.17.0
2.18.0
2.19.0
2.20.0
2.21.0
2.22.0
2.23.0
2.24.0
2.25.0
2.26.0
2.27.0
2.28.0
2.29.0
2.30.0
2.30.1

2020.*

2020.12.0

2021.*

2021.1.0
2021.1.1
2021.2.0
2021.3.0
2021.3.1
2021.4.0
2021.4.1
2021.5.0
2021.5.1
2021.6.0
2021.6.1
2021.6.2
2021.7.0
2021.7.1
2021.7.2
2021.8.0
2021.8.1
2021.9.0
2021.9.1

Ecosystem specific

{
    "affected_functions": [
        "dask.distributed.LocalCluster",
        "dask.distributed.Client"
    ]
}