Data races in appendix
Moderate severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Aug 8, 2021
Reviewed
Aug 18, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Feb 1, 2023
The
appendix
crate implements a key-value mapping data structure calledIndex<K, V>
that is stored on disk. The crate allows for any type to inhabitthe generic
K
andV
type parameters and implements Send and Sync for themunconditionally.
Using a type that is not marked as
Send
orSync
withIndex
can allow itto be used across multiple threads leading to data races. Additionally using
reference types for the keys or values will lead to the segmentation faults
in the crate's code.
References