{"id":"UBUNTU-CVE-2020-35920","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.","modified":"2025-10-24T04:48:58Z","published":"2020-12-31T09:15:00Z","upstream":["CVE-2020-35920"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-35920"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2020-0079.html"},{"type":"REPORT","url":"https://github.com/rust-lang/socket2-rs/issues/119"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-35920"}],"affected":[{"package":{"name":"rust-socket2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-socket2@0.3.11-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-socket2-dev","binary_version":"0.3.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35920.json"}},{"package":{"name":"rust-socket2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-socket2@0.4.2-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.19-2","0.4.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-socket2-dev","binary_version":"0.4.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35920.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}