Skip to content

CVE-2020-35711 Dangling reference in `access::Map` with Constant

HighCVSS 7.5 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

11 packages: 5 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rust-arc-swap(Ubuntu 20.04) = 0.3.11-2; = 0.4.3-1; = 0.4.4-1; All versions No fix listed No fix yet
ubuntu/rust-arc-swap(Ubuntu 22.04) = 0.4.8-2; = 0.4.8-3; All versions No fix listed No fix yet
ubuntu/rust-arc-swap(Ubuntu 24.04) = 1.6.0-1; = 1.6.0-2; = 1.6.0-3; All versions No fix listed No fix yet
ubuntu/rust-arc-swap(Ubuntu 25.10) = 1.7.1-1; All versions No fix listed No fix yet
ubuntu/rust-arc-swap(Ubuntu 26.04) = 1.7.1-1; = 1.8.0-1; All versions No fix listed No fix yet
ubuntu/rust-arc-swap(Ubuntu 26.10) = 1.8.0-1; = 1.9.1-1; = 1.9.2-1; All versions No fix listed No fix yet
arc-swap project arc-swap < 0.4.8; >= 1.0.0, < 1.1.0 0.4.8, 1.1.0 Fixed
crates.io arc-swap(crates.io) >= 0.4.2, < 0.4.8; >= 1.0.0, < 1.1.0; >= 1.0.0-0, < 1.1.0 0.4.8, 1.1.0 Fixed
debian/rust-arc-swap(Debian 12) < 0.4.8-1 0.4.8-1 Fixed
debian/rust-arc-swap(Debian 13) < 0.4.8-1 0.4.8-1 Fixed
debian/rust-arc-swap(Debian 14) < 0.4.8-1 0.4.8-1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io arc-swap(crates.io) >= 0.4.2, < 0.4.8 0.4.8
crates.io arc-swap(crates.io) >= 1.0.0, < 1.1.0 1.1.0
crates.io arc-swap(crates.io) >= 1.0.0-0, < 1.1.0 1.1.0
debian/rust-arc-swap(Debian:12) < 0.4.8-1 0.4.8-1
debian/rust-arc-swap(Debian:13) < 0.4.8-1 0.4.8-1
debian/rust-arc-swap(Debian:14) < 0.4.8-1 0.4.8-1
arc-swap project arc-swap < 0.4.8 0.4.8
arc-swap project arc-swap >= 1.0.0, < 1.1.0 1.1.0
ubuntu/rust-arc-swap(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.10) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:22.04) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:20.04) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:20.04) = 0.3.11-2 No fix listed
ubuntu/rust-arc-swap(Ubuntu:20.04) = 0.4.3-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:20.04) = 0.4.4-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:22.04) = 0.4.8-2 No fix listed
ubuntu/rust-arc-swap(Ubuntu:22.04) = 0.4.8-3 No fix listed
ubuntu/rust-arc-swap(Ubuntu:24.04) = 1.6.0-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:24.04) = 1.6.0-2 No fix listed
ubuntu/rust-arc-swap(Ubuntu:24.04) = 1.6.0-3 No fix listed
ubuntu/rust-arc-swap(Ubuntu:25.10) All versions No fix listed
ubuntu/rust-arc-swap(Ubuntu:25.10) = 1.7.1-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.10) = 1.8.0-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.10) = 1.9.1-1 No fix listed
Show 3 more
ProductAffected versionsFixed in
ubuntu/rust-arc-swap(Ubuntu:26.10) = 1.9.2-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.04) = 1.7.1-1 No fix listed
ubuntu/rust-arc-swap(Ubuntu:26.04) = 1.8.0-1 No fix listed

References