{"id":"RUSTSEC-2021-0045","summary":"FromIterator implementation for Vector/Matrix can drop uninitialized memory","details":"The `FromIterator\u003cT\u003e` methods for `Vector` and `Matrix` rely on the type\nparameter `N` to allocate space in the iterable.\n\nIf the passed in `N` type parameter is larger than the number of items returned\nby the iterator, it can lead to uninitialized memory being left in the\n`Vector` or `Matrix` type which gets dropped.","aliases":["CVE-2021-29936","GHSA-rg4m-gww5-7p47"],"modified":"2023-11-08T04:05:43.880078Z","published":"2021-01-11T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/adtensor"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0045.html"},{"type":"REPORT","url":"https://github.com/charles-r-earp/adtensor/issues/4"}],"affected":[{"package":{"name":"adtensor","ecosystem":"crates.io","purl":"pkg:cargo/adtensor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0045.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","categories":["memory-corruption"],"informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}