Advisory

RUSTSEC-2021-0092

Also known as: CVE-2021-45690, CVE-2021-45691, CVE-2021-45692, CVE-2021-45693, GHSA-hr52-f9vp-582c, GHSA-jqjj-r4qp-x2gh, GHSA-jwfh-j623-m97h, GHSA-m325-rxjv-pwph, GHSA-vw5m-qw2r-m923

Summary

Deserialization functions pass uninitialized memory to user-provided Read

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-01-26 12:00 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

messagepack-rs

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences