Every CVE Search/ Get API key

CVE-2020-35711

Dangling reference in `access::Map` with Constant

7.5 HighFix available

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

1.62%Up 1.0 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
arc-swap
crates.io
0.4.2 up to 0.4.8
0.4.8
arc-swap
crates.io
1.0.0 up to 1.1.0
1.1.0
rust-arc-swap
Debian:12
before 0.4.8-1
0.4.8-1
rust-arc-swap
Debian:13
before 0.4.8-1
0.4.8-1
rust-arc-swap
Debian:14
before 0.4.8-1
0.4.8-1
arc-swap
crates.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-swap
Ubuntu:20.04:LTS
All versions, plus listed versions
0.3.11-20.4.3-10.4.4-1
None known
rust-arc-swap
Ubuntu:22.04:LTS
All versions, plus listed versions
0.4.8-20.4.8-3
None known
rust-arc-swap
Ubuntu:24.04:LTS
All versions, plus listed versions
1.6.0-11.6.0-21.6.0-3
None known
rust-arc-swap
Ubuntu:25.10
All versions, plus listed versions
1.7.1-1
None known
rust-arc-swap
Ubuntu:26.10
All versions, plus listed versions
1.8.0-11.9.1-11.9.2-1
None known
rust-arc-swap
Ubuntu:26.04:LTS
All versions, plus listed versions
1.7.1-11.8.0-1
None known

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE 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

MoveEnter Open