CVE-2021-45704

An issue was discovered in the metrics-util crate before 0.7.0 for Rust. There is a data race and memory corruption because AtomicBucket<T> unconditionally implements the Send and Sync traits.
Configurations

Configuration 1 (hide)

cpe:2.3:a:metrics-util_project:metrics-util:*:*:*:*:*:rust:*:*

History

21 Nov 2024, 06:32

Type Values Removed Values Added
References () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/metrics-util/RUSTSEC-2021-0113.md - Third Party Advisory () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/metrics-util/RUSTSEC-2021-0113.md - Third Party Advisory
References () https://rustsec.org/advisories/RUSTSEC-2021-0113.html - Third Party Advisory () https://rustsec.org/advisories/RUSTSEC-2021-0113.html - Third Party Advisory

06 Jan 2022, 19:43

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.1
CWE CWE-787
CWE-362
References (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/metrics-util/RUSTSEC-2021-0113.md - (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/metrics-util/RUSTSEC-2021-0113.md - Third Party Advisory
References (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0113.html - (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0113.html - Third Party Advisory
CPE cpe:2.3:a:metrics-util_project:metrics-util:*:*:*:*:*:rust:*:*

27 Dec 2021, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-12-27 00:15

Updated : 2024-11-21 06:32


NVD link : CVE-2021-45704

Mitre link : CVE-2021-45704

CVE.ORG link : CVE-2021-45704


JSON object : View

Products Affected

metrics-util_project

  • metrics-util
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-787

Out-of-bounds Write