{"id":"CVE-2020-35887","aliases":["CVE-2020-35887","GHSA-36xw-hgfv-jwm7","GHSA-c7fw-cr3w-wvfc","GHSA-fhvj-7f9p-w788","RUSTSEC-2020-0034"],"related":["CVE-2020-35886","CVE-2020-35888"],"kind":"vulnerability","state":"published","title":"Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr","summary":"An issue was discovered in the arr crate through 2020-08-25 for Rust. There is a buffer overflow in Index and IndexMut.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the arr crate through 2020-08-25 for Rust. There is a buffer overflow in Index and IndexMut.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate arr hasta el 25-08-2020 para Rust.&#xa0;Se presenta un desbordamiento del búfer en Index e IndexMut.","source":"nvd"}],"published":"2020-08-25T12:00:00.000Z","modified":"2026-06-17T03:14:32.307Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120","CWE-362","CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.6.1"}],"ecosystem":"crates.io","package":"arr","purl":"pkg:cargo/arr","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.6.1"}],"ecosystem":"crates.io","package":"arr","purl":"pkg:cargo/arr","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.6.1"}],"ecosystem":"crates.io","package":"arr","purl":"pkg:cargo/arr","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"arr","purl":"pkg:cargo/arr","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"0.6.0"}],"vendor":"arr_project","product":"arr","cpe":"cpe:2.3:a:arr_project:arr:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0034.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35888","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sjep/array/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/sjep/array","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35886","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35887","tags":["advisory"],"sources":["ghsa"]},{"url":"https://crates.io/crates/arr","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35887","url":"https://www.cve.org/CVERecord?id=CVE-2020-35887","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.182Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-36xw-hgfv-jwm7","url":"https://github.com/advisories/GHSA-36xw-hgfv-jwm7","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:27.030Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c7fw-cr3w-wvfc","url":"https://github.com/advisories/GHSA-c7fw-cr3w-wvfc","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:27.030Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fhvj-7f9p-w788","url":"https://github.com/advisories/GHSA-fhvj-7f9p-w788","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:27.030Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0034","url":"https://rustsec.org/advisories/RUSTSEC-2020-0034.html","licence":"CC0-1.0","modified":"2024-03-15T00:05:27.030Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35887","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35887","licence":"Public domain","modified":"2026-06-17T03:14:32.307Z"}],"updatedAt":"2026-11-25T22:57:56.694Z","epss":{"score":0.01494,"percentile":0.74477,"date":"2026-11-30T12:00:22.000Z"}}