rust-arc-swap — security advisory
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.
- Products
- rust-arc-swap
- Affected versions
- 0.3.11-2, 0.4.3-1, 0.4.4-1, 0.4.8-2, 0.4.8-3, 1.6.0-1, 1.6.0-2, 1.6.0-3, 1.7.1-1, 1.8.0-1, 1.9.1-1, 1.9.2-1
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35711
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:29 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2020-35711
rust-arc-swap
Fixed versions: Not specified
rust-arc-swap
Fixed versions: Not specified
rust-arc-swap
Fixed versions: Not specified
rust-arc-swap
Fixed versions: Not specified
rust-arc-swap
Fixed versions: Not specified
rust-arc-swap
Fixed versions: Not specified
Complete source record
{
"id": "53ea0ef708d9dd203dffdbc0890715578fc2cf9b3aaa6b46d027e950b6e8a478",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-35711",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-35711",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2020-35711",
"products": [
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.3.11-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.4.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.4.4-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.8-2",
"evidence": "/affected/1/versions"
},
{
"value": "0.4.8-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.6.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.6.0-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.9.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.9.2-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "rust-arc-swap",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.1-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.8.0-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2020-35711",
"aliases": [
"UBUNTU-CVE-2020-35711"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.3.11-2",
"0.4.3-1",
"0.4.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "0.4.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.4.8-2",
"0.4.8-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "0.4.8-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.6.0-1",
"1.6.0-2",
"1.6.0-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "1.6.0-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.7.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "1.7.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.8.0-1",
"1.9.1-1",
"1.9.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "1.9.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-arc-swap",
"purl": "pkg:deb/ubuntu/rust-arc-swap?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.7.1-1",
"1.8.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35711.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-arc-swap-dev",
"binary_version": "1.8.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:55.963681314Z",
"provider": "osv",
"upstream": [
"CVE-2020-35711"
],
"references": [
"https://ubuntu.com/security/CVE-2020-35711",
"https://github.com/vorner/arc-swap/issues/45",
"https://rustsec.org/advisories/RUSTSEC-2020-0091.html",
"https://www.cve.org/CVERecord?id=CVE-2020-35711"
]
},
"related_cves": [
{
"value": "CVE-2020-35711",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356551,
"published_at": "2020-12-25T23:15:00+00:00"
}