Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-jrcf-4jp8-m28v

Опубликовано: 25 авг. 2021
Источник: github
Github: Прошло ревью
CVSS3: 5.5

Описание

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

The miow crate has assumed std::net::SocketAddrV4 and std::net::SocketAddrV6 have the same memory layout as the system C representation sockaddr. It has simply casted the pointers to convert the socket addresses to the system representation. The standard library does not say anything about the memory layout, and this will cause invalid memory access if the standard library changes the implementation. No warnings or errors will be emitted once the change happens.

Пакеты

Наименование

miow

rust
Затронутые версииВерсия исправления

>= 0.3.0, < 0.3.6

0.3.6

EPSS

Процентиль: 18%
0.00057
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-188

Связанные уязвимости

CVSS3: 5.5
ubuntu
около 5 лет назад

An issue was discovered in the miow crate before 0.3.6 for Rust. It has false expectations about the std::net::SocketAddr memory representation.

CVSS3: 5.5
nvd
около 5 лет назад

An issue was discovered in the miow crate before 0.3.6 for Rust. It has false expectations about the std::net::SocketAddr memory representation.

CVSS3: 5.5
debian
около 5 лет назад

An issue was discovered in the miow crate before 0.3.6 for Rust. It ha ...

EPSS

Процентиль: 18%
0.00057
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-188