NULL Pointer Dereference Affecting futures-task package, versions <0.3.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-FUTURESTASK-1252752
  • published21 Apr 2021
  • disclosed3 May 2020
  • creditUnknown

Introduced: 3 May 2020

CVE-2020-35907  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade futures-task to version 0.3.5 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. 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.

CVSS Scores

version 3.1