GHSA-9pqx-g3jh-qpqqHighCVSS 7.5

Dangling reference in `access::Map` with Constant

Published
May 24, 2022
Last Modified
January 27, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products2

  • rust/arc-swap:>= 0.4.2, < 0.4.8
  • rust/arc-swap:>= 1.0.0, < 1.1.0

🔗 References (4)