{"id":"GHSA-c7fw-cr3w-wvfc","summary":"Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr","details":"arr crate contains multiple security issues. Specifically,\n\n1.  It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.\n2. Index and IndexMut implementation does not check the array bound.\n3. Array::new_from_template() drops uninitialized memory.\n","aliases":["CVE-2020-35886","CVE-2020-35887","CVE-2020-35888","GHSA-36xw-hgfv-jwm7","GHSA-fhvj-7f9p-w788","RUSTSEC-2020-0034"],"modified":"2024-03-15T00:05:27.030752Z","published":"2021-08-25T20:49:04Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-19T20:56:00Z","nvd_published_at":null,"cwe_ids":["CWE-362"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35886"},{"type":"WEB","url":"https://github.com/sjep/array/issues/1"},{"type":"PACKAGE","url":"https://github.com/sjep/array"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0034.html"}],"affected":[{"package":{"name":"arr","ecosystem":"crates.io","purl":"pkg:cargo/arr"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-c7fw-cr3w-wvfc/GHSA-c7fw-cr3w-wvfc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}