Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXdyNTUtbWY1Yy1oaHdt
Data races in late-static
Affected versions of this crate implemented Sync for LateStatic with T: Send, so that it is possible to create a data race to a type T: Send + !Sync (e.g. Cell).
This can result in a memory corruption or other kinds of undefined behavior.
The flaw was corrected in commit 11f396c by replacing the T: Send bound to T: Sync bound in the Sync impl for LateStatic.
Permalink: https://github.com/advisories/GHSA-wr55-mf5c-hhwmJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXdyNTUtbWY1Yy1oaHdt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
CVSS Score: 7.0
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-wr55-mf5c-hhwm, CVE-2020-36209
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36209
- https://github.com/Richard-W/late-static/issues/1
- https://rustsec.org/advisories/RUSTSEC-2020-0102.html
- https://github.com/Richard-W/late-static/commit/11f396c
- https://github.com/advisories/GHSA-wr55-mf5c-hhwm
Blast Radius: 7.0
Affected Packages
cargo:late-static
Dependent packages: 1Dependent repositories: 10
Downloads: 7,940 total
Affected Version Ranges: < 0.4.0
Fixed in: 0.4.0
All affected versions: 0.1.0, 0.2.0, 0.3.0
All unaffected versions: 0.4.0