Files
advisory-db/crates/generic-array/RUSTSEC-2020-0146.md
2021-03-02 07:30:22 -08:00

625 B

[advisory]
id = "RUSTSEC-2020-0146"
package = "generic-array"
date = "2020-04-09"
informational = "unsound"
url = "https://github.com/fizyk20/generic-array/issues/98"
categories = ["memory-corruption"]

[versions]
patched = [
    ">= 0.8.4, < 0.9.0",
    ">= 0.9.1, < 0.10.0",
    ">= 0.10.1, < 0.11.0",
    ">= 0.11.2, < 0.12.0",
    ">= 0.12.4, < 0.13.0",
    ">= 0.13.3",
]
unaffected = ["< 0.8.0"]

arr! macro erases lifetimes

Affected versions of this crate allowed unsoundly extending lifetimes using arr! macro. This may result in a variety of memory corruption scenarios, most likely use-after-free.