CVE-2020-35919 `net2` invalidly assumes the memory layout of std::net::SocketAddr
MediumCVSS 5.5
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 6 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-net2(Ubuntu 20.04) | = 0.2.33-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-net2(Ubuntu 22.04) | = 0.2.37-1; All versions | No fix listed | No fix yet |
| crates.io net2(crates.io) | < 0.2.36; >= 0.0.0-0, < 0.2.36 | 0.2.36 | Fixed |
| crates.io socket2(crates.io) | < 0.3.16; >= 0.0.0-0, < 0.3.16 | 0.3.16 | Fixed |
| debian/rust-net2(Debian 12) | < 0.2.37-1 | 0.2.37-1 | Fixed |
| debian/rust-net2(Debian 13) | < 0.2.37-1 | 0.2.37-1 | Fixed |
| debian/rust-net2(Debian 14) | < 0.2.37-1 | 0.2.37-1 | Fixed |
| net2 project net2 | < 0.2.36 | 0.2.36 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io net2(crates.io) | < 0.2.36 | 0.2.36 |
| ubuntu/rust-net2(Ubuntu:22.04) | All versions | No fix listed |
| crates.io socket2(crates.io) | < 0.3.16 | 0.3.16 |
| crates.io net2(crates.io) | >= 0.0.0-0, < 0.2.36 | 0.2.36 |
| crates.io socket2(crates.io) | >= 0.0.0-0, < 0.3.16 | 0.3.16 |
| debian/rust-net2(Debian:12) | < 0.2.37-1 | 0.2.37-1 |
| debian/rust-net2(Debian:13) | < 0.2.37-1 | 0.2.37-1 |
| debian/rust-net2(Debian:14) | < 0.2.37-1 | 0.2.37-1 |
| net2 project net2 | < 0.2.36 | 0.2.36 |
| ubuntu/rust-net2(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/rust-net2(Ubuntu:20.04) | = 0.2.33-1 | No fix listed |
| ubuntu/rust-net2(Ubuntu:22.04) | = 0.2.37-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- rustsec.org exploit issue-tracking third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- nvd.nist.gov vendor-advisory
- github.com issue-tracking
- github.com product
- rustsec.org vendor-advisory
- github.com product
- crates.io product
- crates.io product
- Debian Security Tracker CVE-2020-35919 vendor-advisory
- bugs.debian.org issue-tracking