logo

CVE-2020-36438 tiny_future

Package

Manager: cargo
Name: tiny_future
Vulnerable Version: >=0 <0.4.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00336 pctl0.55788

Details

Data race in tiny_future tiny_future contains a light-weight implementation of Futures. The Future type it has lacked bound on its Send and Sync traits. This allows for a bug where non-thread safe types such as Cell can be used in Futures and cause data races in concurrent programs. The flaw was corrected in commit `c791919` by adding trait bounds to Future's Send and Sync.

Metadata

Created: 2021-08-25T20:58:53Z
Modified: 2023-06-13T22:05:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-fg42-vwxx-xx5j/GHSA-fg42-vwxx-xx5j.json
CWE IDs: ["CWE-119", "CWE-362"]
Alternative ID: GHSA-fg42-vwxx-xx5j
Finding: F124
Auto approve: 1