Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1jcmYtN2hmOS1mNnE1

Unchecked 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.

Permalink: https://github.com/advisories/GHSA-mcrf-7hf9-f6q5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1jcmYtN2hmOS1mNnE1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 11 months ago


Identifiers: GHSA-mcrf-7hf9-f6q5
References: Repository: https://github.com/3Hren/msgpack-rust
Blast Radius: 0.0

Affected Packages

cargo:rmpv
Dependent packages: 71
Dependent repositories: 398
Downloads: 2,281,748 total
Affected Version Ranges: < 0.4.2
Fixed in: 0.4.2
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1
All unaffected versions: 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 1.0.0, 1.0.1, 1.0.2