{"id":"CVE-2020-35920","published":"2020-12-31T08:17:48Z","modified":"2024-08-04T17:16:13Z","title":"An issue was discovered in the socket2 crate before 0.3.16 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00407,"percentile":0.35891,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0079.html","tags":["x_refsource_MISC"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":7.18}]},"affected":[{"ecosystem":"crates.io","package":"socket2","vulnerableRanges":["<0.3.16",">=0.0.0-0, <0.3.16"],"patched":["0.3.16"],"from":["GHSA-458v-4hrf-g3m4","RUSTSEC-2020-0079"],"provenance":"source"},{"ecosystem":"crates.io","package":"net2","vulnerableRanges":["<0.2.36",">=0.0.0-0, <0.2.36"],"patched":["0.2.36"],"from":["GHSA-458v-4hrf-g3m4","RUSTSEC-2020-0078"],"provenance":"source"}],"summary":{"text":"The socket2 crate for Rust, in versions before 0.3.16, contains a flaw in which it makes incorrect assumptions about the memory layout of std::net::SocketAddr. The available information does not specify the attack vector, required privileges, user interaction, or configuration conditions needed to trigger it, nor the resulting impact on an affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:42Z"},"euvd":{"id":"EUVD-2021-1555","exploited":false,"provenance":"source"}}