CVE-2020-35920Published Dec 31, 2020 · Dec 31Updated Oct 24
socket2 invalidly assumes the memory layout of std::net::SocketAddr
Medium5.5Fix available
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.
From the CVE record · mitre
The socket2 crate incorrectly assumes how Rust represents std::net::SocketAddr in memory. The input does not describe what an attacker can do or specify network access, authentication, or user-interaction requirements.
Check Rust projects using socket2 before 0.3.16 or net2 before 0.2.36.