Uninitialized Memory Exposure Affecting messagepack-rs package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-MESSAGEPACKRS-1569214
  • published24 Aug 2021
  • disclosed26 Jan 2021
  • creditUnknown

Introduced: 26 Jan 2021

CVE-2021-45690  (opens in a new tab)
CVE-2021-45691  (opens in a new tab)
CVE-2021-45692  (opens in a new tab)
CVE-2021-45693  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

messagepack-rs is a messagepack-rs is pure Rust MessagePack implementation.

Affected versions of this package are vulnerable to Uninitialized Memory Exposure. It passed an uninitialized buffer to a user-provided Read instance in deserialize_binary, deserialize_string , deserialize_extension_others and deserialize_string_primitive. This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior.

CVSS Scores

version 3.1