RUSTSEC-2022-0002
HIGHUnsoundness in `dashmap` references
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.
- Published
- 10 Jan 2022
- Last modified
- 8 Nov 2023
- Also known as
- GHSA-mpg5-fvwp-42m2
- Sources
- OSV GHSA-mpg5-fvwp-42m2JSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | dashmap | >= 5.0.0, < 5.1.0 | 5.1.0 |
References
- https://github.com/xacrimon/dashmap/issues/167 · WEB, REPORT
- https://github.com/xacrimon/dashmap · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0002.html · WEB, ADVISORY
- https://crates.io/crates/dashmap · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2022)