Assign RUSTSEC-2020-0007 to bitvec

Original PR: https://github.com/RustSec/advisory-db/pull/253
This commit is contained in:
Tony Arcieri
2020-03-30 12:45:14 -07:00
parent f37a7bf90a
commit 4de36fe70a

View File

@@ -1,5 +1,5 @@
[advisory]
id = "RUSTSEC-0000-0000"
id = "RUSTSEC-2020-0007"
package = "bitvec"
date = "2020-03-27"
title = "use-after or double free of allocated memory"
@@ -10,7 +10,10 @@ 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.
"""
functions = { "bitvec::vec::BitVec::into_boxed_bitslice" = ["< 0.17.4, >= 0.11.0"] }
[affected.functions]
"bitvec::vec::BitVec::into_boxed_bitslice" = ["< 0.17.4, >= 0.11.0"]
[versions]
patched = [">= 0.17.4"]
unaffected = ["< 0.11.0"]