Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. messagepack-rs
  4. ›
  5. CVE-2021-45691

CVE-2021-45691: Use of Uninitialized Resource in messagepack-rs

January 6, 2022 (updated January 7, 2022)

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

References

  • github.com/advisories/GHSA-jwfh-j623-m97h
  • github.com/otake84/messagepack-rs
  • github.com/otake84/messagepack-rs/issues/2
  • nvd.nist.gov/vuln/detail/CVE-2021-45691
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/messagepack-rs/RUSTSEC-2021-0092.md
  • rustsec.org/advisories/RUSTSEC-2021-0092.html

Code Behaviors & Features

Detect and mitigate CVE-2021-45691 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.8.1

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-908: Use of Uninitialized Resource

Source file

cargo/messagepack-rs/CVE-2021-45691.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.