RUSTSEC-2021-0053

Source
https://rustsec.org/advisories/RUSTSEC-2021-0053
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0053.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0053
Aliases
Published
2021-03-07T12:00:00Z
Modified
2023-11-08T04:05:51.884944Z
Summary
'merge_sort::merge()' crashes with double-free for `T: Drop`
Details

In the affected versions of this crate, merge_sort::merge() wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking merge_sort::merge() on Vec<T: Drop> can cause double free bugs.

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

Affected packages

crates.io / algorithmica

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

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

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}