CVEvulnerability

CVE-2021-45704

8.1 HIGH Published 2021-12-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-12-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-362, CWE-787

Description

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.

Affected configurations

• metrics-util project metrics-util (< 0.7.0)

Related

Weakness · CWE (2)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
  • CWE-787 Out-of-bounds Write weakness

References