{"cve":"CVE-2020-35711","nvd":{"published":"2020-12-25T23:15:12.860","modified":"2026-06-17T03:14:09.830","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":[],"references":["https://github.com/vorner/arc-swap/issues/45","https://rustsec.org/advisories/RUSTSEC-2020-0091.html","https://github.com/vorner/arc-swap/issues/45","https://rustsec.org/advisories/RUSTSEC-2020-0091.html"],"products":["arc-swap_project:arc-swap"],"source":"nvd","synced_at":"2026-10-19T21:12:09.559580076+00:00"},"epss":{"cve":"CVE-2020-35711","score":0.01619,"percentile":0.76065,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-9pqx-g3jh-qpqq","url":"https://osv.dev/vulnerability/GHSA-9pqx-g3jh-qpqq","summary":"Dangling reference in `access::Map` with Constant","modified":"2023-11-08T04:03:35.548248Z","packages":[{"ecosystem":"crates.io","name":"arc-swap","purl":"pkg:cargo/arc-swap","ranges":[">=0.4.2 <0.4.8"],"fixed":["0.4.8"]},{"ecosystem":"crates.io","name":"arc-swap","purl":"pkg:cargo/arc-swap","ranges":[">=1.0.0 <1.1.0"],"fixed":["1.1.0"]}]},{"id":"RUSTSEC-2020-0091","url":"https://osv.dev/vulnerability/RUSTSEC-2020-0091","summary":"Dangling reference in `access::Map` with Constant","modified":"2023-11-08T04:03:35.548248Z","packages":[{"ecosystem":"crates.io","name":"arc-swap","purl":"pkg:cargo/arc-swap","ranges":[">=0.4.2 <0.4.8",">=1.0.0-0 <1.1.0"],"fixed":["0.4.8","1.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}