Every CVE Search/ Get API key

CVE-2021-45693

Use of Uninitialized Resource in messagepack-rs.

9.8 Critical

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.23%Up 0.6 points since Dec 27, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Record
CVE-2021-45693
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-908
Updated
2026-11-02
CVE List No score

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Record
CVE-2021-45693
Updated
2026-11-02
EUVDEUVD-2022-0631 No score

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Record
EUVD-2022-0631
Updated
2026-11-03
GitHub AdvisoriesGHSA-jqjj-r4qp-x2gh 9.8

Use of Uninitialized Resource in messagepack-rs.

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Record
GHSA-jqjj-r4qp-x2gh
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-908
Updated
2026-11-02
GitHub AdvisoriesGHSA-m325-rxjv-pwph No score

Deserialization functions pass uninitialized memory to user-provided Read

Affected versions of this crate passed an uninitialized buffer to a user-provided Read instance in:

  • deserialize_binary
  • deserialize_string
  • deserialize_extension_others
  • deserialize_string_primitive

This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior.

Record
GHSA-m325-rxjv-pwph
Updated
2026-11-02
OSVGHSA-hr52-f9vp-582c 9.8

Use of Uninitialized Resource in messagepack-rs.

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_extension_others may read from uninitialized memory locations.

Record
GHSA-hr52-f9vp-582c
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-908
Updated
2026-11-02
Show 5 moreShow less
OSVGHSA-jqjj-r4qp-x2gh 9.8

Use of Uninitialized Resource in messagepack-rs.

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.

Record
GHSA-jqjj-r4qp-x2gh
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-908
Updated
2026-11-02
OSVGHSA-jwfh-j623-m97h 9.8

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

Record
GHSA-jwfh-j623-m97h
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-908
Updated
2026-11-02
OSVGHSA-vw5m-qw2r-m923 9.8

Use of Uninitialized Resource in messagepack-rs.

An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_binary may read from uninitialized memory locations.

Record
GHSA-vw5m-qw2r-m923
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-908
Updated
2026-11-02
OSVGHSA-m325-rxjv-pwph No score

Deserialization functions pass uninitialized memory to user-provided Read

Affected versions of this crate passed an uninitialized buffer to a user-provided Read instance in:

  • deserialize_binary
  • deserialize_string
  • deserialize_extension_others
  • deserialize_string_primitive

This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior.

Record
GHSA-m325-rxjv-pwph
Updated
2026-11-02
OSVRUSTSEC-2021-0092 No score

Deserialization functions pass uninitialized memory to user-provided Read

Affected versions of this crate passed an uninitialized buffer to a user-provided Read instance in:

  • deserialize_binary
  • deserialize_string
  • deserialize_extension_others
  • deserialize_string_primitive

This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior.

Record
RUSTSEC-2021-0092
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
messagepack-rs
crates.io
through 0.8.1 None known
messagepack-rs
crates.io
From an advisory covering 4 CVEs
through 0.8.1 None known
messagepack-rs
crates.io
From an advisory covering 4 CVEs
0.0.0-0 and later None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-45693 is a critical vulnerability (CVSS 9.8) in Messagepack-rs Project Messagepack-rs, published January 26, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 69th percentile. No source names a fixed version.

References

Show 5 moreShow less
MoveEnter Open