GHSA-686h-j8r8-wmfm

Suggest an improvement
Source
https://github.com/advisories/GHSA-686h-j8r8-wmfm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-686h-j8r8-wmfm/GHSA-686h-j8r8-wmfm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-686h-j8r8-wmfm
Aliases
Published
2021-08-25T20:57:14Z
Modified
2023-11-08T04:03:45.643060Z
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 rcu_cell
Details

Affected versions of this crate unconditionally implement Send/Sync for RcuCell<T>. This allows users to send T: !Send to other threads (while T enclosed within RcuCell<T>), and allows users to concurrently access T: !Sync by using the APIs of RcuCell<T> that provide access to &T.

This can result in memory corruption caused by data races.

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "github_reviewed_at": "2021-08-18T20:29:49Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-362",
        "CWE-77"
    ]
}
References

Affected packages

crates.io / rcu_cell

Package

Affected ranges

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