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-f6q5JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1jcmYtN2hmOS1mNnE1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
Identifiers: GHSA-mcrf-7hf9-f6q5
References:
- https://github.com/3Hren/msgpack-rust/issues/151
- https://rustsec.org/advisories/RUSTSEC-2017-0006.html
- https://github.com/advisories/GHSA-mcrf-7hf9-f6q5
Blast Radius: 0.0
Affected Packages
cargo:rmpv
Dependent packages: 83Dependent repositories: 398
Downloads: 3,587,078 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, 1.3.0