{"id":"CVE-2020-35892","aliases":["CVE-2020-35892","GHSA-438g-fx34-4h9m","GHSA-hqc8-j86x-2764","RUSTSEC-2020-0039"],"related":["CVE-2020-35893"],"kind":"vulnerability","state":"published","title":"Out of bounds read in simple-slab","summary":"An issue was discovered in the simple-slab crate before 0.3.3 for Rust. index() allows an out-of-bounds read.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the simple-slab crate before 0.3.3 for Rust. index() allows an out-of-bounds read.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in the simple-slab crate before 0.3.3 for Rust. remove() has an off-by-one error, causing memory leakage and a drop of uninitialized memory.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`Slab::index()` does not perform the boundary checking, which leads to out-of-bound read access. `Slab::remove()` copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate  simple-slab versiones anteriores a 0.3.3 para Rust.&#xa0;La función index() permite una lectura fuera de límites.","source":"nvd"}],"published":"2020-09-03T12:00:00.000Z","modified":"2026-06-17T03:14:32.913Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"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:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-193"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"crates.io","package":"simple-slab","purl":"pkg:cargo/simple-slab","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"crates.io","package":"simple-slab","purl":"pkg:cargo/simple-slab","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.3"}],"ecosystem":"crates.io","package":"simple-slab","purl":"pkg:cargo/simple-slab","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.3.3"}],"vendor":"simple-slab_project","product":"simple-slab","cpe":"cpe:2.3:a:simple-slab_project:simple-slab:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0039.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-35892","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nathansizemore/simple-slab/issues/2","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/nathansizemore/simple-slab","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35893","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nathansizemore/simple-slab/commit/5e0524c1db836e2192e1cd818848d96937c0b587","tags":["web"],"sources":["ghsa"]},{"url":"https://crates.io/crates/simple-slab","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35892","url":"https://www.cve.org/CVERecord?id=CVE-2020-35892","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.185Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-438g-fx34-4h9m","url":"https://github.com/advisories/GHSA-438g-fx34-4h9m","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:37.869Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hqc8-j86x-2764","url":"https://github.com/advisories/GHSA-hqc8-j86x-2764","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:37.869Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0039","url":"https://rustsec.org/advisories/RUSTSEC-2020-0039.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:37.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35892","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35892","licence":"Public domain","modified":"2026-06-17T03:14:32.913Z"}],"updatedAt":"2026-11-25T22:57:56.700Z","epss":{"score":0.01529,"percentile":0.75499,"date":"2026-12-02T12:00:21.000Z"}}