HistoryEditJSON (OSV)

RUSTSEC-2020-0042

Missing check in ArrayVec leads to out-of-bounds write.

Reported
Issued
Package
stack (crates.io)
Type
Vulnerability
Aliases
References
CVSS Score
9.8 CRITICAL
CVSS Details
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Patched
  • >=0.3.1

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.

Advisory available under CC0-1.0 license.