Add an advisory on lifetime extension in generic-array

This commit is contained in:
Konrad Borowski
2021-03-01 14:24:05 +01:00
parent 6d1fcd97c7
commit eda0a2235a

View File

@@ -0,0 +1,19 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
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.