Lucene search

K
osvGoogleOSV:GHSA-9PQX-G3JH-QPQQ
HistoryMay 24, 2022 - 5:37 p.m.

Dangling reference in `access::Map` with Constant

2022-05-2417:37:21
Google
osv.dev
5

0.001 Low

EPSS

Percentile

45.8%

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.

0.001 Low

EPSS

Percentile

45.8%