CVE-2020-35711
Dangling reference in `access::Map` with Constant
Reported by mitre · Published December 25, 2020
arc-swap is fixed in 1.1.0 and 0.4.8 (crates.io)
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| arc-swap | crates.io | 1.1.0, 0.4.8 |
| arc-swap | arc-swap_project | 1.1.0, 0.4.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| crates.io | arc-swap | 0.4.2, 1.0.0 |
Timeline
- Dec 25, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Aug 31, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-35711
vulnetix vdb fixes CVE-2020-35711
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-35711/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-35711 advisory
- https://github.com/advisories/GHSA-9pqx-g3jh-qpqq advisory
- https://github.com/vorner/arc-swap url