Skip to content
OpenAdvisories
Medium · 5.5 CVE-2020-35922 EUVD-2021-1816GHSA-pf3p-x6qj-6j7qRUSTSEC-2020-0081

mio invalidly assumes the memory layout of std::net::SocketAddr

Published Dec 31, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

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.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-mio No fix yet —
Ubuntu 26.04 LTS rust-mio No fix yet —
Ubuntu 25.10 rust-mio No fix yet —
Ubuntu 24.04 LTS rust-mio No fix yet —
Ubuntu 22.04 LTS rust-mio No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS rust-mio No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io mio >= 0.7.0, < 0.7.6 0.7.6 GHSA-pf3p-x6qj-6j7q

References