Skip to content
OpenAdvisories
High GHSA-mpg5-fvwp-42m2 RUSTSEC-2022-0002

Unsoundness in `dashmap` references

Published Jun 16, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

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`](https://github.com/xacrimon/dashmap/issues/167) issue.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io dashmap >= 5.0.0, < 5.1.0 5.1.0 GHSA-mpg5-fvwp-42m2

References