{"id":"CVE-2021-45693","aliases":["EUVD-2022-0631","GHSA-hr52-f9vp-582c","GHSA-jqjj-r4qp-x2gh","GHSA-jwfh-j623-m97h","GHSA-m325-rxjv-pwph","GHSA-vw5m-qw2r-m923","RUSTSEC-2021-0092"],"status":"published","title":"Use of Uninitialized Resource in messagepack-rs.","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0123,"percentile":0.69152,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-908"],"published":"2021-01-26T12:00:00Z","modified":"2026-06-17T04:13:57Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"crates.io","package":"messagepack-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"bundled":4}],"products":[{"vendor":"messagepack-rs_project","product":"messagepack-rs"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0092.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/messagepack-rs/RUSTSEC-2021-0092.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45693","tags":["advisory"]},{"url":"https://github.com/otake84/messagepack-rs/issues/2","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-jqjj-r4qp-x2gh"},{"url":"https://github.com/advisories/GHSA-m325-rxjv-pwph"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45692","tags":["advisory"]},{"url":"https://github.com/otake84/messagepack-rs","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45691","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45690","tags":["advisory"]},{"url":"https://crates.io/crates/messagepack-rs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-45693","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:50:41Z","modified":"2024-08-04T04:47:01.987Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2022-0631","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:50:41Z","modified":"2024-08-04T04:47:01Z","updated_at":"2026-11-03T03:08:25.77408Z"}],"ghsa":[{"id":"GHSA-jqjj-r4qp-x2gh","title":"Use of Uninitialized Resource in messagepack-rs.","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:12:42Z","modified":"2023-06-13T18:39:36Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:36:53.654352Z"},{"id":"GHSA-m325-rxjv-pwph","title":"Deserialization functions pass uninitialized memory to user-provided Read","description":"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.","status":"published","published":"2022-06-17T00:11:41Z","modified":"2023-06-13T18:41:51Z","updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2021-45693","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","status":"published","published":"2021-12-27T00:15:09.37Z","modified":"2026-06-17T04:13:57.633Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:07:02.977492Z"}],"osv":[{"id":"GHSA-hr52-f9vp-582c","title":"Use of Uninitialized Resource in messagepack-rs.","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_extension_others may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:12:28Z","modified":"2024-03-15T00:05:17.689306Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"GHSA-jqjj-r4qp-x2gh","title":"Use of Uninitialized Resource in messagepack-rs.","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string_primitive may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:12:42Z","modified":"2024-03-15T00:05:17.689306Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:50.687609Z"},{"id":"GHSA-jwfh-j623-m97h","title":"Use of Uninitialized Resource in messagepack-rs","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:12:35Z","modified":"2024-03-15T00:05:17.689306Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"GHSA-vw5m-qw2r-m923","title":"Use of Uninitialized Resource in messagepack-rs.","description":"An issue was discovered in the messagepack-rs crate through 2021-01-26 for Rust. deserialize_binary may read from uninitialized memory locations.","status":"published","published":"2022-01-06T22:11:46Z","modified":"2024-03-15T00:05:17.689306Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:57.694388Z"},{"id":"GHSA-m325-rxjv-pwph","title":"Deserialization functions pass uninitialized memory to user-provided Read","description":"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.","status":"published","published":"2022-06-17T00:11:41Z","modified":"2024-03-15T00:05:17.689306Z","updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"RUSTSEC-2021-0092","title":"Deserialization functions pass uninitialized memory to user-provided Read","description":"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.","status":"published","published":"2021-01-26T12:00:00Z","modified":"2024-03-15T00:05:17.689306Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
