Use After Free Affecting futures-task package, versions <0.3.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (39th 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 IDSNYK-RUST-FUTURESTASK-1252753
  • published21 Apr 2021
  • disclosed4 Sept 2020
  • creditUnknown

Introduced: 4 Sep 2020

CVE-2020-35906  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade futures-task to version 0.3.6 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. Affected versions of the crate did not properly implement a 'static lifetime bound on the waker function. This resulted in a use-after-free if Waker::wake() is called after original data had been dropped. The flaw was corrected by adding 'static lifetime bound to the data waker takes.

CVSS Base Scores

version 3.1