GitHub Advisoryadvisory · crates.io
GHSA-mpg5-fvwp-42m2 Unsoundness in `dashmap` references
HIGH
Official page ↗
- Ecosystem
- crates.io
- Packages
- dashmap
- Severity
- High
- Reviewed
- 2022-06-16
Affected packages
• crates.io dashmap: >= 5.0.0, < 5.1.0 → fixed in 5.1.0
Description
Reference returned by some methods of `Ref` (and similar types) may outlive the `Ref` and escape the lock.
This causes undefined behavior and may result in a segfault.
More information in `dashmap#167` issue.