CVE-2021-45704
HIGHCVSS 8.1/10EPSS 0.74%
Last modified
CVE-2021-45704 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Metrics-Util Project | Metrics-Util | < 0.7.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0113.htmlThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0113.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-45704?
CVE-2021-45704 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 0.74% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45704?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45698An issue was discovered in the ckb crate before 0.40.0 for R…9.8
- CVE-2021-45699An issue was discovered in the ckb crate before 0.40.0 for R…7.5
- CVE-2021-45700An issue was discovered in the ckb crate before 0.40.0 for R…7.5
- CVE-2021-45701An issue was discovered in the tremor-script crate before 0.…9.8
- CVE-2021-45702An issue was discovered in the tremor-script crate before 0.…7.5
- CVE-2021-45703An issue was discovered in the tectonic_xdv crate before 0.1…9.8
- CVE-2021-45705An issue was discovered in the nanorand crate before 0.6.1 f…9.8
- CVE-2021-45706An issue was discovered in the zeroize_derive crate before 1…9.8
- CVE-2021-45707An issue was discovered in the nix crate 0.16.0 and later be…9.8
- CVE-2021-45708An issue was discovered in the abomonation crate through 202…7.5
- CVE-2021-45709An issue was discovered in the crypto2 crate through 2021-10…9.8
- CVE-2021-45710An issue was discovered in the tokio crate before 1.8.4, and…8.1
Are you affected by CVE-2021-45704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
