{"id":"CVE-2020-35919","aliases":["CVE-2020-35920","GHSA-458v-4hrf-g3m4","GHSA-c79c-gwph-gqfm","RUSTSEC-2020-0078","RUSTSEC-2020-0079"],"url":"https://o3.security/vulnerability/CVE-2020-35919","summary":"socket2 invalidly assumes the memory layout of std::net::SocketAddr","details":"An issue was discovered in the net2 crate before 0.2.36 for Rust. It has false expectations about the std::net::SocketAddr memory representation.","published":"2020-12-31T09:15:15.957Z","modified":"2026-07-08T21:25:50.369462Z","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-0078.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:25:50.369462Z"}}