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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-arc-swap | 0.4.8-1 | — |
| Debian 13 | rust-arc-swap | 0.4.8-1 | — |
| Debian 12 | rust-arc-swap | 0.4.8-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-arc-swap | No fix yet | — |
| Ubuntu 26.04 LTS | rust-arc-swap | No fix yet | — |
| Ubuntu 25.10 | rust-arc-swap | No fix yet | — |
| Ubuntu 24.04 LTS | rust-arc-swap | No fix yet | — |
| Ubuntu 22.04 LTS | rust-arc-swap | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rust-arc-swap | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | arc-swap | >= 0.4.2, < 0.4.8 | 0.4.8 | GHSA-9pqx-g3jh-qpqq |
| crates.io | arc-swap | >= 1.0.0, < 1.1.0 | 1.1.0 | GHSA-9pqx-g3jh-qpqq |
| crates.io | arc-swap | >= 0.4.2, < 0.4.8 · >= 1.0.0-0, < 1.1.0 | 0.4.8, 1.1.0 | RUSTSEC-2020-0091 |