CVE-2020-35922 mio invalidly assumes the memory layout of std::net::SocketAddr
The mio crate had incorrect assumptions about SocketAddr memory layout, potentially causing undefined behavior or crashes in Rust applications.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35922?
CVE-2020-35922 is a medium-severity vulnerability in n/a, published on 31 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the mio crate before 0.7.6 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
Which versions are affected by CVE-2020-35922?
3 open source packages ship an affected version, including mio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mio crates.io | From 0.7.0 | 0.7.6 |
mio crates.io | From 0.7.0 | 0.7.6 |
mio crates.io | From 0.7.0 | 0.7.6 |
Products include Mio Project Mio.
How do I fix CVE-2020-35922?
Upgrade mio to 0.7.6 or later.
Is CVE-2020-35922 being exploited?
There is no known exploitation of CVE-2020-35922 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pf3p-x6qj-6j7q, RUSTSEC-2020-0081, UBUNTU-CVE-2020-35922.