{"id":"CVE-2021-45691","aliases":["CVE-2021-45691","GHSA-hr52-f9vp-582c","GHSA-jqjj-r4qp-x2gh","GHSA-jwfh-j623-m97h","GHSA-m325-rxjv-pwph","GHSA-vw5m-qw2r-m923","RUSTSEC-2021-0092"],"related":["CVE-2021-45690","CVE-2021-45692","CVE-2021-45693"],"kind":"vulnerability","state":"published","title":"Use of Uninitialized Resource in messagepack-rs.","summary":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_extension_others may read from uninitialized memory locations.","format":"markdown","source":"ghsa"},{"lang":"en","text":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate passed an uninitialized buffer to a\nuser-provided `Read` instance in:\n\n* `deserialize_binary`\n* `deserialize_string`\n* `deserialize_extension_others`\n* `deserialize_string_primitive`\n\nThis can result in safe `Read` implementations reading from the uninitialized\nbuffer leading to undefined behavior.","format":"markdown","source":"ghsa"},{"lang":"en","text":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_binary may read from uninitialized memory locations.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate messagepack-rs versiones hasta 26-01-2021 para Rust. La función deserialize_string puede leer desde ubicaciones de memoria no inicializadas","source":"nvd"}],"published":"2021-01-26T12:00:00.000Z","modified":"2026-06-17T04:13:57.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"messagepack-rs","purl":"pkg:cargo/messagepack-rs","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.8.1"}],"vendor":"messagepack-rs_project","product":"messagepack-rs","cpe":"cpe:2.3:a:messagepack-rs_project:messagepack-rs:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0092.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/messagepack-rs/RUSTSEC-2021-0092.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45692","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/otake84/messagepack-rs/issues/2","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/otake84/messagepack-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45693","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45691","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45690","tags":["advisory"],"sources":["ghsa"]},{"url":"https://crates.io/crates/messagepack-rs","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45691","url":"https://www.cve.org/CVERecord?id=CVE-2021-45691","licence":"CVE Terms of Use","modified":"2024-08-04T04:47:01.992Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hr52-f9vp-582c","url":"https://github.com/advisories/GHSA-hr52-f9vp-582c","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jqjj-r4qp-x2gh","url":"https://github.com/advisories/GHSA-jqjj-r4qp-x2gh","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jwfh-j623-m97h","url":"https://github.com/advisories/GHSA-jwfh-j623-m97h","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m325-rxjv-pwph","url":"https://github.com/advisories/GHSA-m325-rxjv-pwph","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vw5m-qw2r-m923","url":"https://github.com/advisories/GHSA-vw5m-qw2r-m923","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0092","url":"https://rustsec.org/advisories/RUSTSEC-2021-0092.html","licence":"CC0-1.0","modified":"2024-03-15T00:05:17.689Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45691","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45691","licence":"Public domain","modified":"2026-06-17T04:13:57.400Z"}],"updatedAt":"2026-11-25T22:58:06.264Z","epss":{"score":0.0123,"percentile":0.69771,"date":"2026-12-01T12:00:22.000Z"}}