CVE-2020-35711
HIGH 7.5CVSS 3.1Dangling 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.
- Published
- 25 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-9pqx-g3jh-qpqqRUSTSEC-2020-0091
- Sources
- NVDJSONOSV GHSA-9pqx-g3jh-qpqqJSONOSV RUSTSEC-2020-0091JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | arc-swap_project | arc-swapcpe:2.3:a:arc-swap_project:arc-swap:*:*:*:*:*:*:*:* |
< 0.4.8 | 0.4.8 |
| NVD | arc-swap_project | arc-swapcpe:2.3:a:arc-swap_project:arc-swap:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.1.0 | 1.1.0 |
| OSV | crates.io | arc-swap | >= 0.4.2, < 0.4.8 | 0.4.8 |
| OSV | crates.io | arc-swap | >= 1.0.0, < 1.1.0 | 1.1.0 |
| OSV | crates.io | arc-swap | >= 0.4.2, < 0.4.8; >= 1.0.0-0, < 1.1.0 | 0.4.8, 1.1.0 |
References
- https://github.com/vorner/arc-swap/issues/45 · Exploit, Patch, Third Party Advisory, WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2020-0091.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35711 · ADVISORY
- https://github.com/vorner/arc-swap · PACKAGE
- https://crates.io/crates/arc-swap · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)