CVE-2020-35711Arc-swap Project Arc-swap
High 7.5 No auth needed
Follow: this CVE · Arc-swap Project · Arc-swap Project Arc-swap We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Arc-swap.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| arc-swap_project | arc-swap | < 0.4.8 |
| arc-swap_project | arc-swap | ≥ 1.0.0 < 1.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Patch Third Party Advisory
- rustsec.org Third Party Advisory