GHSA-3hxh-7jxm-59x4 – metrics-util
Package
Manager: cargo
Name: metrics-util
Vulnerable Version: >=0 <0.7.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
AtomicBucket<T> unconditionally implements Send/Sync In the affected versions of the crate, `AtomicBucket<T>` unconditionally implements `Send`/`Sync` traits. Therefore, users can create a data race to the inner `T: !Sync` by using the `AtomicBucket::data_with()` API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was fixed in commit 8e6daab by adding appropriate Send/Sync bounds to the Send/Sync impl of struct `Block<T>` (which is a data type contained inside `AtomicBucket<T>`).
Metadata
Created: 2022-06-17T00:13:03Z
Modified: 2022-06-17T00:13:03Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-3hxh-7jxm-59x4/GHSA-3hxh-7jxm-59x4.json
CWE IDs: []
Alternative ID: N/A
Finding: F124
Auto approve: 1