GHSA-mcrf-7hf9-f6q5
medium
Unchecked vector pre-allocation
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2017-0006
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
| Product or package | Versions | Reported by |
|---|---|---|
| rmpv (crates.io) | before 0.4.2, from 0.0.0-0 before 0.4.2 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-mcrf-7hf9-f6q5 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2017-0006 changed 2023-11-08 | CC0-1.0 |