Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. arc-swap
  4. ›
  5. CVE-2020-35711

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

May 24, 2022 (updated June 16, 2022)

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.

References

  • github.com/advisories/GHSA-9pqx-g3jh-qpqq
  • github.com/vorner/arc-swap
  • github.com/vorner/arc-swap/issues/45
  • nvd.nist.gov/vuln/detail/CVE-2020-35711
  • rustsec.org/advisories/RUSTSEC-2020-0091.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35711 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.4.2 before 0.4.8, all versions starting from 1.0.0 before 1.1.0

Fixed versions

  • 0.4.8
  • 1.1.0

Solution

Upgrade to versions 0.4.8, 1.1.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Source file

cargo/arc-swap/CVE-2020-35711.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.