nathansizemore/simple-slab · Security
Off-by-one error in simple-slab
- GHSA ID
- GHSA-hqc8-j86x-2764
- CVE ID
- CVE-2020-35893
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-193 · Off-by-one Error
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35893 ↗
- https://github.com/nathansizemore/simple-slab/issues/2 ↗
- https://rustsec.org/advisories/RUSTSEC-2020-0039.html ↗
- https://github.com/nathansizemore/simple-slab/commit/5e0524c1db836e2192e1cd818848d96937c0b587 ↗
- https://github.com/advisories/GHSA-hqc8-j86x-2764 ↗