RUSTSEC-2020-0039

Source
https://rustsec.org/advisories/RUSTSEC-2020-0039
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0039.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0039
Aliases
Published
2020-09-03T12:00:00Z
Modified
2023-11-08T04:03:37.869412Z
Summary
`index()` allows out-of-bound read and `remove()` has off-by-one error
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / simple-slab

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.3

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": []
}