# CVE-2021-45704: AtomicBucket<T> unconditionally implements Send/Sync

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-04-07T12:00:00.000Z
- Modified: 2026-06-17T04:13:59.030Z
- Also known as: GHSA-3hxh-7jxm-59x4, GHSA-cwvc-87xq-pc5m, RUSTSEC-2021-0113
- Weaknesses: CWE-362, CWE-787
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- metrics-util (crates.io): before 0.7.0; from 0.0.0-0 before 0.7.0
- metrics-util_project metrics-util: before 0.7.0

## Every score

- GitHub: rating Medium
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0113.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/metrics-util/RUSTSEC-2021-0113.md> (third-party-advisory, web)
- <https://github.com/metrics-rs/metrics/issues/190> (report, web)
- <https://github.com/metrics-rs/metrics> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45704> (advisory)
- <https://github.com/metrics-rs/metrics/commit/8e6daab> (web)
- <https://crates.io/crates/metrics-util> (package)

## Sources

- CVE List: [CVE-2021-45704](https://www.cve.org/CVERecord?id=CVE-2021-45704), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3hxh-7jxm-59x4](https://github.com/advisories/GHSA-3hxh-7jxm-59x4), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-cwvc-87xq-pc5m](https://github.com/advisories/GHSA-cwvc-87xq-pc5m), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0113](https://rustsec.org/advisories/RUSTSEC-2021-0113.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-45704](https://nvd.nist.gov/vuln/detail/CVE-2021-45704), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45704 · Whole record: https://cve.day/CVE-2021-45704.json · Rebuilt by cve.day 2026-11-25T22:58:06.269Z
