# CVE-2020-35711: Dangling reference in `access::Map` with Constant

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.62%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-10T12:00:00.000Z
- Modified: 2026-06-17T03:14:09.830Z
- Also known as: GHSA-9pqx-g3jh-qpqq, RUSTSEC-2020-0091
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- arc-swap (crates.io): from 0.4.2 before 0.4.8; from 1.0.0 before 1.1.0; from 1.0.0-0 before 1.1.0
- arc-swap_project arc-swap: before 0.4.8; from 1.0.0 before 1.1.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/vorner/arc-swap/issues/45> (exploit, patch, report, third-party-advisory, web)
- <https://rustsec.org/advisories/RUSTSEC-2020-0091.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35711> (advisory)
- <https://github.com/vorner/arc-swap> (package)
- <https://crates.io/crates/arc-swap> (package)

## Sources

- CVE List: [CVE-2020-35711](https://www.cve.org/CVERecord?id=CVE-2020-35711), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9pqx-g3jh-qpqq](https://github.com/advisories/GHSA-9pqx-g3jh-qpqq), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0091](https://rustsec.org/advisories/RUSTSEC-2020-0091.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-35711](https://nvd.nist.gov/vuln/detail/CVE-2020-35711), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35711 · Whole record: https://cve.day/CVE-2020-35711.json · Rebuilt by cve.day 2026-11-25T22:57:56.414Z
