{ "schema_version": "1.4.0", "id": "GHSA-mcrf-7hf9-f6q5", "modified": "2023-06-13T20:48:55Z", "published": "2021-08-25T21:00:09Z", "aliases": [], "summary": "Unchecked vector pre-allocation", "details": "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.\n", "severity": [], "affected": [ { "package": { "ecosystem": "crates.io", "name": "rmpv" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.4.2" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/3Hren/msgpack-rust/issues/151" }, { "type": "PACKAGE", "url": "https://github.com/3Hren/msgpack-rust" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2017-0006.html" } ], "database_specific": { "cwe_ids": [ "CWE-400" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-08-06T19:28:40Z", "nvd_published_at": null } }