Advisory

GHSA-fvhr-7j8m-3cvc

Also known as: CVE-2020-36469, RUSTSEC-2020-0149

Summary

Data races in appendix

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:57 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

appendix

crates.io · All systems

Affected

  • introduced 0, last affected 0.2.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences