CVE-2021-45704: An issue was discovered in the metrics-util crate before 0.7.0 for Rust
CVE-2021-45704 is a high-severity flaw (CVSS 8.1) affecting metrics-util. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-45704?
metrics-util: upgrade to 0.7.0. Exact commands for each OS are on this page.
Is CVE-2021-45704 being exploited?
CVE-2021-45704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-45704 affect?
CVE-2021-45704 affects metrics-util. Severity is high (CVSS 8.1). 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.
How urgent is CVE-2021-45704?
Priority 47/100. High severity; Remotely exploitable, no login, no user action