3hren/msgpack-rust · Security

Unchecked vector pre-allocation

GHSA ID
GHSA-mcrf-7hf9-f6q5
Severity
medium
Published
Updated

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.

CWEs

References