RUSTSEC-2017-0006
MEDIUMUnchecked vector pre-allocation
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.
- Published
- 21 Nov 2017
- Last modified
- 8 Nov 2023
- Weakness
- CWE-400
- Also known as
- GHSA-mcrf-7hf9-f6q5
- Sources
- OSV GHSA-mcrf-7hf9-f6q5JSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rmpv | < 0.4.2 | 0.4.2 |
| OSV | crates.io | rmpv | >= 0.0.0-0, < 0.4.2 | 0.4.2 |
References
- https://github.com/3Hren/msgpack-rust/issues/151 · WEB, REPORT
- https://github.com/3Hren/msgpack-rust · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2017-0006.html · WEB, ADVISORY
- https://crates.io/crates/rmpv · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Nov 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)