Skip to content

GHSA-mcrf-7hf9-f6q5 Unchecked vector pre-allocation

Unknown
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io rmpv(crates.io) < 0.4.2; >= 0.0.0-0, < 0.4.2 0.4.2 Fixed

Affected products

ProductAffected versionsFixed in
crates.io rmpv(crates.io) < 0.4.2 0.4.2
crates.io rmpv(crates.io) >= 0.0.0-0, < 0.4.2 0.4.2

References