GHSA-rw2c-c256-3r53

Suggest an improvement
Source
https://github.com/advisories/GHSA-rw2c-c256-3r53
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-rw2c-c256-3r53/GHSA-rw2c-c256-3r53.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rw2c-c256-3r53
Aliases
Published
2021-08-25T20:51:52Z
Modified
2023-11-08T04:03:41.965428Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Data races in hashconsing
Details

Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types. This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.

Database specific
{
    "nvd_published_at": "2021-01-26T18:15:00Z",
    "cwe_ids": [
        "CWE-662",
        "CWE-787"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T18:47:26Z"
}
References

Affected packages

crates.io / hashconsing

Package

Affected ranges

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