Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wOW01LTNoajctY3A1cs4AAnD2

futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer

Affected versions of the crate used a UnsafeCell in thread-local storage to return a noop waker reference, assuming that the reference would never be returned from another thread.

This resulted in a segmentation fault crash if Waker::wake_by_ref() was called on a waker returned from another thread due to it attempting to dereference a pointer that wasn't accessible from the main thread.

Permalink: https://github.com/advisories/GHSA-p9m5-3hj7-cp5r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wOW01LTNoajctY3A1cs4AAnD2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: 11 months ago


CVSS Score: 5.5
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-p9m5-3hj7-cp5r, CVE-2020-35907
References: Repository: https://github.com/rust-lang/futures-rs
Blast Radius: 25.7

Affected Packages

cargo:futures-task
Dependent packages: 47
Dependent repositories: 46,835
Downloads: 158,988,162 total
Affected Version Ranges: < 0.3.5
Fixed in: 0.3.5
All affected versions: 0.0.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4
All unaffected versions: 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24, 0.3.25, 0.3.26, 0.3.27, 0.3.28, 0.3.29, 0.3.30