CVE-2021-42343
Duplicate Advisory: Remote code execution in dask
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.
How to fix CVE-2021-42343
To remediate CVE-2021-42343, upgrade the affected package to a fixed version below.
- —upgrade to 2021.01.0+ds.1-2.1+deb11u1 or later
- —upgrade to 2021.10.0 or later
- —upgrade to 2021.10.0 or later
- —upgrade to 2021.10.0 or later
- —upgrade to 2021.10.0 or later
- —upgrade to 2021.10.0 or later
Is CVE-2021-42343 being exploited?
Low — EPSS is 4.7%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 2021.01.0+ds.1-2.1+deb11u1
- from 0, < 2021.10.0
- from 0, < 2021.10.0
- from 0, < 2021.10.0
- from 0, < 2021.10.0
- from 0, < 2021.10.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |