Live threats

All CVEs / Arc-swap Project

CVE-2020-35711Arc-swap Project Arc-swap

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Dec 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Arc-swap.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io arc-swap ≥ 0.4.2 < 0.4.8 0.4.8 cargo update -p arc-swap --precise 0.4.8
crates.io arc-swap ≥ 1.0.0 < 1.1.0 1.1.0 cargo update -p arc-swap --precise 1.1.0
crates.io arc-swap ≥ 0.4.2 < 0.4.8 0.4.8 cargo update -p arc-swap --precise 0.4.8
crates.io arc-swap ≥ 1.0.0-0 < 1.1.0 1.1.0 cargo update -p arc-swap --precise 1.1.0

Per OSV / GitHub Advisories (GHSA-9pqx-g3jh-qpqq, RUSTSEC-2020-0091). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
arc-swap_projectarc-swap< 0.4.8
arc-swap_projectarc-swap≥ 1.0.0 < 1.1.0

Official sources

References

Links published by the sources. Open them with care.