Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. appendix
  4. ›
  5. CVE-2020-36469

CVE-2020-36469: Data races in appendix

August 25, 2021

The appendix crate implements a key-value mapping data structure called Index<K, V> that is stored on disk. The crate allows for any type to inhabit the generic K and V type parameters and implements Send and Sync for them unconditionally.

Using a type that is not marked as Send or Sync with Index can allow it to 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

  • github.com/advisories/GHSA-fvhr-7j8m-3cvc
  • github.com/krl/appendix
  • github.com/krl/appendix/issues/6
  • nvd.nist.gov/vuln/detail/CVE-2020-36469
  • rustsec.org/advisories/RUSTSEC-2020-0149.html

Code Behaviors & Features

Detect and mitigate CVE-2020-36469 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/appendix/CVE-2020-36469.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.