High, CVSS 7.5crates.ioPublished
Dangling reference in access::Map with Constant
CVE-2020-35711 · GHSA-9pqx-g3jh-qpqq
- Affected
- crates.io arc-swap >= 0.4.2, < 0.4.8; >= 1.0.0, < 1.1.0
- Fixed in
- 0.4.81.1.0· Vendor fix available
- Issue
- 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 arcswap::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.
Recommended action: Upgrade to 1.1.0 or 0.4.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.