logo

CVE-2020-36209 late-static

Package

Manager: cargo
Name: late-static
Vulnerable Version: >=0 <0.4.0

Severity

Level: High

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

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

EPSS: 0.00058 pctl0.17927

Details

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<T>). 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<T>.

Metadata

Created: 2021-08-25T20:50:44Z
Modified: 2023-06-13T18:16:02Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-wr55-mf5c-hhwm/GHSA-wr55-mf5c-hhwm.json
CWE IDs: ["CWE-662"]
Alternative ID: GHSA-wr55-mf5c-hhwm
Finding: F124
Auto approve: 1