{"id":"GHSA-h45v-vgvp-3h5v","summary":"Out-of-bounds write in stack","details":"ArrayVec::insert allows insertion of an element into the array object into the specified index. Due to a missing check on the upperbound of this index, it is possible to write out of bounds.","aliases":["CVE-2020-35895","RUSTSEC-2020-0042"],"modified":"2023-11-08T04:03:37.990860Z","published":"2021-08-25T20:49:13Z","database_specific":{"cwe_ids":["CWE-787"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-19T20:53:42Z","nvd_published_at":"2020-12-31T10:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35895"},{"type":"WEB","url":"https://github.com/arcnmx/stack-rs/issues/4"},{"type":"WEB","url":"https://github.com/arcnmx/stack-rs/commit/369e55736f9bd29c37b1712afc2923f4028148c6"},{"type":"PACKAGE","url":"https://github.com/arcnmx/stack-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0042.html"}],"affected":[{"package":{"name":"stack","ecosystem":"crates.io","purl":"pkg:cargo/stack"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-h45v-vgvp-3h5v/GHSA-h45v-vgvp-3h5v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}