Description
Affected versions of this crate pre-allocate memory on deserializing raw buffers without checking whether there is sufficient data available. This allows an attacker to do denial-of-service attacks by sending small msgpack messages that allocate gigabytes of memory.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | rmpv | < 0.4.2 | 0.4.2 | GHSA-mcrf-7hf9-f6q5 |
| crates.io | rmpv | >= 0.0.0-0, < 0.4.2 | 0.4.2 | RUSTSEC-2017-0006 |