All reports
High

Dangling reference in `access::Map` with Constant

Affected versions

Version ranges need review.

Rust / Cargoarc-swap
Affected versions
>= 1.0.0, < 1.1.0
Fixed version
1.1.0
Rust / Cargoarc-swap
Affected versions
>=0.4.2 <0.4.8 || >=1.0.0-0 <1.1.0
Fixed version
0.4.8 · 1.1.0
Rust / Cargoarc-swap
Affected versions
>= 0.4.2, < 0.4.8
Fixed version
0.4.8

Exploitation

CVE-2020-35711

Probability of exploitation in the next 30 days: 1.62%

FIRST EPSS · 2026-11-21

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.

Links