GHSA-hwqr-f3v9-hwxr

Suggest an improvement
Source
https://github.com/advisories/GHSA-hwqr-f3v9-hwxr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-hwqr-f3v9-hwxr/GHSA-hwqr-f3v9-hwxr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hwqr-f3v9-hwxr
Aliases
Published
2022-07-15T21:56:08Z
Modified
2024-12-05T05:38:18.399269Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Workers for local Dask clusters mistakenly listened on public interfaces
Details

Versions of distributed earlier than 2021.10.0 had a potential security vulnerability relating to single-machine Dask clusters.

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 AND running on a machine that has these ports exposed could be used by a sophisticated attacker to enable remote code execution. Users running on machines with standard firewalls in place, or using clusters created via cluster objects other than LocalCluster (e.g. dask_kubernetes.KubeCluster) should not be affected. This vulnerability is documented in CVE-2021-42343, and was fixed in version 2021.10.0 (PR #5427).

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-668"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-15T21:56:08Z"
}
References

Affected packages

PyPI / distributed

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
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"
    ]
}