CVE-2020-35920 Memory corruption in n/a
Incorrect memory representation assumptions in the socket2 crate can lead to memory corruption, potentially allowing code execution or crashes.
- 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-35920?
CVE-2020-35920 is a medium-severity memory corruption 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 socket2 crate before 0.3.16 for Rust. It has false expectations about the std::net::SocketAddr memory representation.
Which versions are affected by CVE-2020-35920?
It affects 1 product.
Products include Rust-Lang Socket2.
How do I fix CVE-2020-35920?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35920 being exploited?
There is no known exploitation of CVE-2020-35920 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2020-35920, UBUNTU-CVE-2020-35920.