Files
advisory-db/crates/bitvec/RUSTSEC-2020-0007.toml
2020-03-30 12:45:16 -07:00

20 lines
568 B
TOML

[advisory]
id = "RUSTSEC-2020-0007"
package = "bitvec"
date = "2020-03-27"
title = "use-after or double free of allocated memory"
url = "https://github.com/myrrlyn/bitvec/issues/55"
categories = ["memory-corruption"]
description = """
Conversion of `BitVec` to `BitBox` did not account for allocation movement.
The flaw was corrected by using the address after resizing, rather than the original base address.
"""
[affected.functions]
"bitvec::vec::BitVec::into_boxed_bitslice" = ["< 0.17.4, >= 0.11.0"]
[versions]
patched = [">= 0.17.4"]
unaffected = ["< 0.11.0"]