CVE-2020-35711
Dangling reference in `access::Map` with Constant
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2020-35711- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-35711- Updated
- 2026-11-02
EUVDEUVD-2022-3426 No score
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.
- Record
EUVD-2022-3426- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9pqx-g3jh-qpqq
7.5
Dangling reference in `access::Map` with Constant
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.
- Record
GHSA-9pqx-g3jh-qpqq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2020-35711- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-35711
7.5
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.
- Record
DEBIAN-CVE-2020-35711- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-9pqx-g3jh-qpqq
7.5
Dangling reference in `access::Map` with Constant
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.
- Record
GHSA-9pqx-g3jh-qpqq- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRUSTSEC-2020-0091
7.5
Dangling reference in `access::Map` with Constant
Using the arc_swap::access::Map with the Constant test helper (or with
user-provided implementation of the Access trait) could sometimes lead to the
map returning dangling references.
Replaced by implementation without unsafe, at the cost of added Clone bound
on the closure and small penalty on performance.
- Record
RUSTSEC-2020-0091- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-35711
7.5
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.
- Record
UBUNTU-CVE-2020-35711- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
arc-swapcrates.io |
0.4.2 up to 0.4.8 | 0.4.8 |
arc-swapcrates.io |
1.0.0 up to 1.1.0 | 1.1.0 |
rust-arc-swapDebian:12 |
before 0.4.8-1 | 0.4.8-1 |
rust-arc-swapDebian:13 |
before 0.4.8-1 | 0.4.8-1 |
rust-arc-swapDebian:14 |
before 0.4.8-1 | 0.4.8-1 |
arc-swapcrates.io |
0.4.2 up to 0.4.8, 1.0.0-0 up to 1.1.0 | 0.4.81.1.0 |
rust-arc-swapUbuntu:20.04:LTS |
All versions, plus listed versions 0.3.11-20.4.3-10.4.4-1 |
None known |
rust-arc-swapUbuntu:22.04:LTS |
All versions, plus listed versions 0.4.8-20.4.8-3 |
None known |
rust-arc-swapUbuntu:24.04:LTS |
All versions, plus listed versions 1.6.0-11.6.0-21.6.0-3 |
None known |
rust-arc-swapUbuntu:25.10 |
All versions, plus listed versions 1.7.1-1 |
None known |
rust-arc-swapUbuntu:26.10 |
All versions, plus listed versions 1.8.0-11.9.1-11.9.2-1 |
None known |
rust-arc-swapUbuntu:26.04:LTS |
All versions, plus listed versions 1.7.1-11.8.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35711 is a high vulnerability (CVSS 7.5) in Arc-swap Project Arc-swap, published December 10, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.62%, the 76th percentile. Fixed in arc-swap 0.4.8.
References
github.com/vorner/arc-swap/issues/45
rustsec.org/advisories/RUSTSEC-2020-0091.html
nvd.nist.gov/vuln/detail/CVE-2020-35711
github.com/advisories/GHSA-9pqx-g3jh-qpqq
security-tracker.debian.org/tracker/CVE-2020-35711
github.com/vorner/arc-swap
crates.io/crates/arc-swap
ubuntu.com/security/CVE-2020-35711
cve.org/CVERecord?id=CVE-2020-35711