Medium
Security advisory
An issue was discovered in the socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35919, CVE-2020-35920
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:18 UTC · Revision 1
Source evidence
An issue was discovered in the socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
osv:CVE-2020-35920
Complete source record
{
"id": "7c137026878857a663f55251a85e2a73d00d0ae050b165689e8d6b915b073cae",
"url": "https://osv.dev/vulnerability/CVE-2020-35920",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35920",
"summary": "An issue was discovered in the socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.",
"evidence": "osv:CVE-2020-35920",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-35920",
"aliases": [
"CVE-2020-35919",
"CVE-2020-35920",
"GHSA-458v-4hrf-g3m4",
"GHSA-c79c-gwph-gqfm",
"RUSTSEC-2020-0078",
"RUSTSEC-2020-0079"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rust-lang/socket2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0c6051d09e8d539f68727526ede8e88ea6816291"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rust-lang:socket2:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.16"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.3.15",
"0.3.12",
"0.3.11",
"0.3.10",
"0.3.9",
"0.3.8",
"0.3.7",
"0.3.6",
"0.3.5",
"0.3.4",
"0.3.3",
"0.3.2",
"0.3.0",
"v0.2.4",
"0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35920.json"
}
}
],
"modified": "2026-10-24T10:30:51.589354947Z",
"provider": "osv",
"references": [
"https://rustsec.org/advisories/RUSTSEC-2020-0079.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35919",
"evidence": "/aliases"
},
{
"value": "CVE-2020-35920",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437518,
"published_at": "2020-12-31T09:15:16.02+00:00"
}