Advisory

RUSTSEC-2022-0092

Also known as: GHSA-255r-3prx-mf99

Summary

rmp-serde Raw and RawRef unsound

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

Not rated by the source.

Dates

Published
2022-04-13 12:00 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

rmp-serde

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences