{"id":"CVE-2020-35920","aliases":["CVE-2020-35919","GHSA-458v-4hrf-g3m4","GHSA-c79c-gwph-gqfm","RUSTSEC-2020-0078","RUSTSEC-2020-0079"],"url":"https://o3.security/vulnerability/CVE-2020-35920","summary":"socket2 invalidly assumes the memory layout of std::net::SocketAddr","details":"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.","published":"2020-12-31T09:15:16.020Z","modified":"2026-07-08T21:25:53.668363Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"crates.io","name":"socket2","fixedVersion":"0.3.16"},{"ecosystem":"crates.io","name":"net2","fixedVersion":"0.2.36"}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://rustsec.org/advisories/RUSTSEC-2020-0079.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:25:53.668363Z"}}