Advisory

GHSA-255r-3prx-mf99

Also known as: RUSTSEC-2022-0092

Summary

rmp-serde Raw and RawRef may crash when receiving invalid UTF-8

Details

It was found that Raw::from_utf8 expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-03-22 22:21 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

rmp-serde

crates.io · All systems

Affected

  • introduced 0, fixed 1.1.1 (semver)

Fixed versions

1.1.1

Fix

  • Fixed version 1.1.1
    cargo update -p rmp-serde --precise 1.1.1

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences