CVE-2020-35711 json
Dangling reference in `access::Map` with Constant
published 2020-12-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-9pqx-g3jh-qpqq , RUSTSEC-2020-0091 , EUVD-2022-3426
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io arc-swap 0.4.8, 1.1.0
- arc-swap_project arc-swap 0.4.8, 1.1.0
- rust-arc-swap Debian 14, Debian 13, Debian 12 0.4.8-1
debian advisories DEBIAN-CVE-2020-35711
- github.com/vorner/arc-swap/issues/45 advisory
Exploit prediction
1.62% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vorner/arc-swap/issues/45 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | arc-swap | >=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 |
References
-
github.com
/vorner/arc-swap/issues/45
web, exploit, patch, third-party-advisory, report
-
rustsec.org
/advisories/RUSTSEC-2020-0091.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35711
advisory
-
github.com
/vorner/arc-swap
package
-
crates.io
/crates/arc-swap
package
Sources
- CVE List CVE-2020-35711
- GitHub Advisory GHSA-9pqx-g3jh-qpqq
- NVD CVE-2020-35711
- OSV RUSTSEC-2020-0091
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.