GHSA-255r-3prx-mf99
MEDIUM`rmp-serde` `Raw` and `RawRef` may crash when receiving invalid UTF-8
It was found that Raw::from_utf8 expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash.
- Published
- 13 Apr 2022
- Last modified
- 10 Sep 2026
- Also known as
- RUSTSEC-2022-0092
- Sources
- OSVJSONOSV RUSTSEC-2022-0092JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rmp-serde | < 1.1.1 | 1.1.1 |
| OSV | crates.io | rmp-serde | >= 0.0.0-0, < 1.1.1 | 1.1.1 |
References
- https://github.com/3Hren/msgpack-rust/issues/305 · WEB, REPORT
- https://github.com/3Hren/msgpack-rust · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0092.html · WEB, ADVISORY
- https://crates.io/crates/rmp-serde · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Apr 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Mar 2023)