VDB

CVE-2020-35711

CVE-2020-35711 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
arc-swapcrates.io1.1.0, 0.4.8
arc-swaparc-swap_project1.1.0, 0.4.8

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
crates.ioarc-swap0.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›