Merge pull request #392 from ammaraskar/0016-stack

Add advisory for out-of-bounds write in stack crate
This commit is contained in:
Sergey "Shnatsel" Davidoff
2020-09-24 20:01:13 +02:00
committed by GitHub

View File

@@ -0,0 +1,14 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "stack"
date = "2020-09-24"
title = "Missing check in ArrayVec leads to out-of-bounds write."
url = "https://github.com/arcnmx/stack-rs/issues/4"
description = """
ArrayVec::insert allows insertion of an element into the array object into the
specified index. Due to a missing check on the upperbound of this index, it is
possible to write out of bounds.
"""
[versions]
patched = [">= 0.3.1"]