HIGH7.5
GHSA-9pqx-g3jh-qpqq
Dangling reference in `access::Map` with Constant
Details
An issue has been discovered in the arc-swap crate before 0.4.8 (and 1.x before 1.1.0) for Rust. Use of arc_swap::access::Map with the Constant test helper (or with a user-supplied implementation of the Access trait) could sometimes lead to dangling references being returned by the map.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/arc-swap
Introduced in:
0.4.2Fixed in: 0.4.8Upgrade arc-swap to 0.4.8 or newer (ecosystem crates.io).
crates.io/arc-swap
Introduced in:
1.0.0Fixed in: 1.1.0Upgrade arc-swap to 1.1.0 or newer (ecosystem crates.io).