Skip to content
OpenAdvisories
High · 7.5 CVE-2020-35711 EUVD-2022-3426GHSA-9pqx-g3jh-qpqqRUSTSEC-2020-0091

Dangling reference in `access::Map` with Constant

Published Dec 25, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-arc-swap 0.4.8-1 —
Debian 13 rust-arc-swap 0.4.8-1 —
Debian 12 rust-arc-swap 0.4.8-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-arc-swap No fix yet —
Ubuntu 26.04 LTS rust-arc-swap No fix yet —
Ubuntu 25.10 rust-arc-swap No fix yet —
Ubuntu 24.04 LTS rust-arc-swap No fix yet —
Ubuntu 22.04 LTS rust-arc-swap No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-arc-swap No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io arc-swap >= 0.4.2, < 0.4.8 0.4.8 GHSA-9pqx-g3jh-qpqq
crates.io arc-swap >= 1.0.0, < 1.1.0 1.1.0 GHSA-9pqx-g3jh-qpqq
crates.io arc-swap >= 0.4.2, < 0.4.8 · >= 1.0.0-0, < 1.1.0 0.4.8, 1.1.0 RUSTSEC-2020-0091

References