{"id":"RUSTSEC-2020-0042","summary":"Missing check in ArrayVec leads to out-of-bounds write.","details":"ArrayVec::insert allows insertion of an element into the array object into the\nspecified index. Due to a missing check on the upperbound of this index, it is\npossible to write out of bounds.","aliases":["CVE-2020-35895","GHSA-h45v-vgvp-3h5v"],"modified":"2023-11-08T04:03:37.990860Z","published":"2020-09-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/stack"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0042.html"},{"type":"REPORT","url":"https://github.com/arcnmx/stack-rs/issues/4"}],"affected":[{"package":{"name":"stack","ecosystem":"crates.io","purl":"pkg:cargo/stack"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.1"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0042.json"}}],"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"}]}