{"id":"CVE-2021-26305","published":"2021-01-29T02:27:42Z","modified":"2024-08-03T20:19:20Z","title":"An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01662,"percentile":0.77279,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0012.html","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.46}]},"affected":[{"ecosystem":"crates.io","package":"cdr","vulnerableRanges":["<0.2.4",">=0.0.0-0, <0.2.4"],"patched":["0.2.4"],"from":["GHSA-37jj-wp7g-7wj4","RUSTSEC-2021-0012"],"provenance":"source"}],"summary":{"text":"The flaw is in the Deserializer::read_vec function of the cdr crate for Rust, affecting versions before 0.2.4. It is a soundness issue in which the function's memory handling can expose the previous contents of newly allocated heap memory. An attacker able to supply a custom Read implementation to the deserializer can read this stale heap data, and no additional authentication, user interaction, or specific configuration is described as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:24Z"},"euvd":{"id":"EUVD-2021-1535","exploited":false,"provenance":"source"}}