{"id":"UBUNTU-CVE-2020-35711","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.","modified":"2026-05-20T16:04:28.907798735Z","published":"2020-12-25T23:15:00Z","upstream":["CVE-2020-35711"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-35711"},{"type":"REPORT","url":"https://github.com/vorner/arc-swap/issues/45"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2020-0091.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-35711"}],"affected":[{"package":{"name":"rust-arc-swap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.11-2","0.4.3-1","0.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-arc-swap-dev","binary_version":"0.4.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"}},{"package":{"name":"rust-arc-swap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.8-2","0.4.8-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.8-3","binary_name":"librust-arc-swap-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"}},{"package":{"name":"rust-arc-swap","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1","1.6.0-2","1.6.0-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.0-3","binary_name":"librust-arc-swap-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"}},{"package":{"name":"rust-arc-swap","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.1-1","binary_name":"librust-arc-swap-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"}},{"package":{"name":"rust-arc-swap","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-1","1.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-arc-swap-dev","binary_version":"1.8.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}