Advisory

PYSEC-2021-387

Also known as: CVE-2021-42343, GHSA-hwqr-f3v9-hwxr, GHSA-j8fq-86c5-5v2r, PYSEC-2021-871

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-10-26 11:15 UTC
Modified
2026-07-09 16:56 UTC

Affected packages and fixes

dask

PyPI · All systems

Affected

  • introduced 0, fixed 2021.10.0 (ecosystem)

Fixed versions

2021.10.0

Fix

  • Fixed version 2021.10.0
    pip install --upgrade dask==2021.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences