PT-2020-17525

CVE-2020-35893

·

Published

2020-09-03

·

Updated

2021-08-25

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions simple-slab crate versions prior to 0.3.3
Description The issue concerns the simple-slab crate for Rust, where two main problems have been identified. Firstly, the remove() function has an off-by-one error, leading to memory leakage and the dropping of uninitialized memory. Secondly, the index() function allows for out-of-bounds read access due to a lack of boundary checking. This can result in accessing memory outside the intended boundaries, potentially causing issues.
Recommendations For versions prior to 0.3.3, update to version 0.3.3 or later to resolve the issue. As a temporary workaround, consider disabling the remove() and index() functions until a patch is available. Restrict access to the Slab module to minimize the risk of exploitation. Avoid using the Slab::index() and Slab::remove() functions in critical operations until the issue is resolved.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-438G-FX34-4H9M
GHSA-HQC8-J86X-2764
RUSTSEC-2020-0039
Found an issue in the description? Have something to add? Feel free to write us 👾