ADVISORIES

Vulnerability

CVE-2020-35919

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.

6 advisories report this vulnerability, across 3 ecosystems.

Medium severity All crates.io 4Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2020-35919

    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.

    CVE-2020-35919 Debian Updated 26 October 2026
  • GHSA-458v-4hrf-g3m4

    socket2 invalidly assumes the memory layout of std::net::SocketAddr

    Moderate CVE-2020-35919CVE-2020-35920 crates.io Updated 12 February 2024
  • GHSA-c79c-gwph-gqfm

    `net2` invalidly assumes the memory layout of std::net::SocketAddr

    Moderate CVE-2020-35919CVE-2020-35920 crates.io Updated 8 November 2023
  • RUSTSEC-2020-0078

    `net2` invalidly assumes the memory layout of std::net::SocketAddr

    CVE-2020-35919CVE-2020-35920 crates.io Updated 8 November 2023
  • RUSTSEC-2020-0079

    `socket2` invalidly assumes the memory layout of std::net::SocketAddr

    CVE-2020-35919CVE-2020-35920 crates.io Updated 10 February 2024
  • UBUNTU-CVE-2020-35919

    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.

    CVE-2020-35919 Ubuntu Updated 24 October 2025

References