{"id":"GHSA-9pqx-g3jh-qpqq","summary":"Dangling reference in `access::Map` with Constant","details":"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.","aliases":["CVE-2020-35711","RUSTSEC-2020-0091"],"modified":"2023-11-08T04:03:35.548248Z","published":"2022-05-24T17:37:21Z","database_specific":{"github_reviewed_at":"2022-06-16T23:22:40Z","nvd_published_at":"2020-12-25T23:15:00Z","cwe_ids":[],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35711"},{"type":"WEB","url":"https://github.com/vorner/arc-swap/issues/45"},{"type":"PACKAGE","url":"https://github.com/vorner/arc-swap"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0091.html"}],"affected":[{"package":{"name":"arc-swap","ecosystem":"crates.io","purl":"pkg:cargo/arc-swap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.2"},{"fixed":"0.4.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9pqx-g3jh-qpqq/GHSA-9pqx-g3jh-qpqq.json"}},{"package":{"name":"arc-swap","ecosystem":"crates.io","purl":"pkg:cargo/arc-swap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9pqx-g3jh-qpqq/GHSA-9pqx-g3jh-qpqq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}