Rust advisories / crate
Security history · net2 · data from Oct 24, 2026
Is net2 safe to use? Its security history
VerdictUnmaintained. RustSec marked net2 unmaintained (RUSTSEC-2020-0016), so new security bugs will not be fixed. Suggested replacement: socket2.
Every advisory, newest first
- Unsound MediumRUSTSEC-2020-0078 · 2020-11-07`net2` invalidly assumes the memory layout of std::net::SocketAddr
- UnmaintainedRUSTSEC-2020-0016 · 2020-05-01`net2` crate has been deprecated; use `socket2` instead
Check your version
Run cargo tree -i net2 to see which version you build and why, or paste your Cargo.lock into the Cargo.toml checker to match every advisory against your exact versions.
RustSec advisories (CC0-1.0) and GitHub-reviewed advisories via OSV's crates.io export, downloaded Oct 24, 2026.
Up next
Are you affected?Check your whole dependency treeRead it next →Also worth your time
Did this answer your question?