GHSA-mcrf-7hf9-f6q5
JSON

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 packageVersionsReported by
rmpv (crates.io)before 0.4.2, from 0.0.0-0 before 0.4.2GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-mcrf-7hf9-f6q5 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2017-0006 changed 2023-11-08CC0-1.0