CVE-2021-42343
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 2021.10.0-1 | |
| debian | bookworm | fixed | 2021.09.1+ds.1-2 |
| debian | bullseye | fixed | 2021.01.0+ds.1-2.1+deb11u1 |
| debian | forky | fixed | 2021.09.1+ds.1-2 |
| debian | sid | fixed | 2021.09.1+ds.1-2 |
| debian | trixie | fixed | 2021.09.1+ds.1-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | distributed | <2021.10.0 | 2021.10.0 |
| PyPI | dask | <2021.10.0 | 2021.10.0 |
References
- https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr
- https://nvd.nist.gov/vuln/detail/CVE-2021-42343
- https://github.com/dask/distributed/pull/5427
- https://github.com/dask/distributed/commit/afce4be8e05fb180e50a9d9e38465f1a82295e1b
- https://docs.dask.org/en/latest/changelog.html
- https://github.com/dask/dask/tags
- https://github.com/dask/distributed
- https://github.com/pypa/advisory-database/tree/main/vulns/distributed/PYSEC-2021-871.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/distributed/PYSEC-2021-872.yaml
- https://github.com/advisories/GHSA-j8fq-86c5-5v2r
- https://github.com/pypa/advisory-database/tree/main/vulns/dask/PYSEC-2021-387.yaml
- https://security-tracker.debian.org/tracker/CVE-2021-42343
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.