PT-2020-17650 · Rust · Appendix Crate

Published

2020-11-15

·

Updated

2021-08-25

·

CVE-2020-36469

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions appendix crate through 2020-11-15
Description The issue concerns the implementation of the Index<K, V> data structure in the appendix crate, which allows any type to inhabit the generic K and V type parameters and implements Send and Sync for them unconditionally. This can lead to data races when using types that are not marked as Send or Sync with Index across multiple threads. Additionally, using reference types for the keys or values can cause segmentation faults in the crate's code.
Recommendations For the appendix crate through 2020-11-15, consider avoiding the use of types that are not marked as Send or Sync with Index to prevent data races. Restrict the use of reference types for keys or values to minimize the risk of segmentation faults. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-36469
GHSA-FVHR-7J8M-3CVC
RUSTSEC-2020-0149

Affected Products

Appendix Crate