GitHub Advisoryadvisory · crates.io
GHSA-9pqx-g3jh-qpqq Dangling reference in `access::Map` with Constant
HIGH
Official page ↗
- Aliases
- CVE-2020-35711
- Ecosystem
- crates.io
- Packages
- arc-swap
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Reviewed
- 2022-06-16
Affected packages
• crates.io arc-swap: >= 0.4.2, < 0.4.8 → fixed in 0.4.8
• crates.io arc-swap: >= 1.0.0, < 1.1.0 → fixed in 1.1.0
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.
Related
Alias · CVE (1)
- CVE-2020-35711 An issue has been discovered in the arc-swap crate before 0.4.8 (and 1.x before 1.1.0) for Rust. vulnerability