CVE-2021-45691
CRITICAL 9.8CVSS 3.1Use of Uninitialized Resource in messagepack-rs.
An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-908
- Also known as
- CVE-2021-45690CVE-2021-45692CVE-2021-45693GHSA-hr52-f9vp-582cGHSA-jqjj-r4qp-x2ghGHSA-jwfh-j623-m97hGHSA-m325-rxjv-pwphGHSA-vw5m-qw2r-m923RUSTSEC-2021-0092
- Sources
- NVDJSONOSV GHSA-hr52-f9vp-582cJSONOSV GHSA-jqjj-r4qp-x2ghJSONOSV GHSA-jwfh-j623-m97hJSONOSV GHSA-m325-rxjv-pwphJSONOSV GHSA-vw5m-qw2r-m923JSONOSV RUSTSEC-2021-0092JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | messagepack-rs_project | messagepack-rscpe:2.3:a:messagepack-rs_project:messagepack-rs:*:*:*:*:*:rust:*:* |
< 0.8.1 | 0.8.1 |
| OSV | crates.io | messagepack-rs | <= 0.8.1 | |
| OSV | crates.io | messagepack-rs | >= 0.0.0-0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/messagepack-rs/RUSTSEC-2021-0092.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0092.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-45692 · ADVISORY
- https://github.com/otake84/messagepack-rs/issues/2 · WEB, REPORT
- https://github.com/otake84/messagepack-rs · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-45693 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-45691 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-45690 · ADVISORY
- https://crates.io/crates/messagepack-rs · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)