GHSA-m296-j53x-xv95

Suggest an improvement
Source
https://github.com/advisories/GHSA-m296-j53x-xv95
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-m296-j53x-xv95/GHSA-m296-j53x-xv95.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m296-j53x-xv95
Aliases
Published
2021-08-25T21:00:32Z
Modified
2023-11-08T04:03:44.842730Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Data races in tiny_future
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-05T22:01:31Z"
}
References

Affected packages

crates.io / tiny_future

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.0