CVE-2020-35907 futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer

Medium 5.5 Published Updated

A NULL pointer dereference in the futures-task crate allows attackers to cause a denial of service via noop_waker_ref.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-35907?

CVE-2020-35907 is a medium-severity vulnerability in n/a, published on 31 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in the futures-task crate before 0.3.5 for Rust. futures_task::noop_waker_ref allows a NULL pointer dereference.

Weakness: CWE-476

Which versions are affected by CVE-2020-35907?

3 open source packages ship an affected version, including futures-task. It affects 1 product.

PackageAffectedFixed in
futures-task crates.ioAll versions0.3.5
futures-task crates.ioAll versions0.3.5
futures-task crates.ioFrom 0.0.0-00.3.5

Products include Rust-Lang Futures-Task.

How do I fix CVE-2020-35907?

Upgrade futures-task to 0.3.5 or later.

Is CVE-2020-35907 being exploited?

There is no known exploitation of CVE-2020-35907 in the wild and no public exploit code.

Sources

Also known as GHSA-p9m5-3hj7-cp5r, RUSTSEC-2020-0061, UBUNTU-CVE-2020-35907.

Is CVE-2020-35907 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free