{"id":"GHSA-6wp2-fw3v-mfmc","summary":"Memory corruption in array-tools","details":"An issue was discovered in the array-tools crate before 0.3.2 for Rust. Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided `T::clone()` panics in `FixedCapacityDequeLike\u003cT, A\u003e::clone()`. This causes memory corruption.\n","aliases":["CVE-2020-36452","RUSTSEC-2020-0132"],"modified":"2023-11-08T04:03:45.705412Z","published":"2021-08-25T20:57:19Z","database_specific":{"nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-908","CWE-909"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-18T20:24:55Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36452"},{"type":"WEB","url":"https://github.com/L117/array-tools/issues/2"},{"type":"PACKAGE","url":"https://github.com/L117/array-tools"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/array-tools/RUSTSEC-2020-0132.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0132.html"}],"affected":[{"package":{"name":"array-tools","ecosystem":"crates.io","purl":"pkg:cargo/array-tools"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wp2-fw3v-mfmc/GHSA-6wp2-fw3v-mfmc.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"}]}