Files
advisory-db/crates/abi_stable/RUSTSEC-2020-0105.md
2021-01-20 19:13:02 +00:00

582 B

[advisory]
id = "RUSTSEC-2020-0105"
package = "abi_stable"
date = "2020-12-21"
url = "https://github.com/rodrimati1992/abi_stable_crates/issues/44"
categories = ["memory-corruption"]

[versions]
patched = [">= 0.9.1"]

Update unsound DrainFilter and RString::retain

Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust#60977 (double drop) & rust-lang/rust#78498 (create invalid utf-8 string).

The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library.