Files
advisory-db/crates/generic-array/RUSTSEC-2020-0146.md
2021-03-01 14:06:15 +00:00

485 B

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

[versions]
patched = [">= 0.14.0"]
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.