{"id":"GHSA-mcrf-7hf9-f6q5","aliases":["GHSA-mcrf-7hf9-f6q5","RUSTSEC-2017-0006"],"related":[],"kind":"vulnerability","state":"published","title":"Unchecked vector pre-allocation","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2017-11-21T12:00:00.000Z","modified":"2023-11-08T04:21:02.280Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.2"}],"ecosystem":"crates.io","package":"rmpv","purl":"pkg:cargo/rmpv","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.2"}],"ecosystem":"crates.io","package":"rmpv","purl":"pkg:cargo/rmpv","source":"rustsec"}],"references":[{"url":"https://github.com/3Hren/msgpack-rust/issues/151","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/3Hren/msgpack-rust","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2017-0006.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/rmpv","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mcrf-7hf9-f6q5","url":"https://github.com/advisories/GHSA-mcrf-7hf9-f6q5","licence":"CC-BY-4.0","modified":"2023-11-08T04:21:02.280Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2017-0006","url":"https://rustsec.org/advisories/RUSTSEC-2017-0006.html","licence":"CC0-1.0","modified":"2023-11-08T04:21:02.280Z"}],"updatedAt":"2026-11-25T22:56:42.915Z"}