{"id":"RUSTSEC-2020-0033","summary":"Matrix::new() drops uninitialized memory","details":"`Matrix::new()` internally calls `Matrix::fill_with()` which uses `*ptr = value` pattern to initialize the buffer.\nThis pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.","aliases":["CVE-2020-36432","GHSA-3vv3-frrq-6486"],"modified":"2023-11-08T04:03:44.476394Z","published":"2020-08-25T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/alg_ds"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0033.html"},{"type":"REPORT","url":"https://gitlab.com/dvshapkin/alg-ds/-/issues/1"}],"affected":[{"package":{"name":"alg_ds","ecosystem":"crates.io","purl":"pkg:cargo/alg_ds"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"functions":[],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"informational":null,"categories":[],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0033.json","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"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"}]}