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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-socket2 | 0.3.19-1 | — |
| Debian 13 | rust-socket2 | 0.3.19-1 | — |
| Debian 12 | rust-socket2 | 0.3.19-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | rust-socket2 | No fix yet | — |
| Ubuntu 20.04 LTS | rust-socket2 | No fix yet | — |