CVE-2021-45691
JSON

9.8critical

Use of Uninitialized Resource in messagepack-rs.

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.23% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hr52-f9vp-582cGHSA-jqjj-r4qp-x2ghGHSA-jwfh-j623-m97hGHSA-m325-rxjv-pwphGHSA-vw5m-qw2r-m923RUSTSEC-2021-0092

Description

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
messagepack-rs (crates.io)up to 0.8.1, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
messagepack-rs_project messagepack-rsbefore 0.8.1NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh rating
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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

GitHub Advisory Database

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

GitHub Advisory Database

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

GitHub Advisory Database

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.

GitHub Advisory Database

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

NVD (es)

Se ha detectado un problema en la crate messagepack-rs versiones hasta 26-01-2021 para Rust. La función deserialize_string puede leer desde ubicaciones de memoria no inicializadas

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2021-45691 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-hr52-f9vp-582c changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-jqjj-r4qp-x2gh changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-jwfh-j623-m97h changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-m325-rxjv-pwph changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-vw5m-qw2r-m923 changed 2024-03-15CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0092 changed 2024-03-15CC0-1.0
NVDCVE-2021-45691 changed 2026-06-17Public domain