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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io rmpv(crates.io) | < 0.4.2; >= 0.0.0-0, < 0.4.2 | 0.4.2 | Fixed |
Affected products
| Product | Affected versions | Fixed 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
- github.com issue-tracking
- rustsec.org vendor-advisory
- github.com
- github.com product
- crates.io product