CVE-2020-35919Published 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 net2 crate before 0.2.36 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
From the CVE record · mitre
The net2 crate makes incorrect assumptions about the memory representation of std::net::SocketAddr; the affected package list also includes socket2. The input does not describe what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers using the Rust crates net2 before 0.2.36 or socket2 before 0.3.16 should check their dependencies.