icon

We found results for “

WS-2022-0285

Good to know:

icon

Date: September 3, 2022

undefined behavior in `os_socketaddr` before 0.2.2. The os_socketaddr 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.

Language: RUST

Severity Score

Severity Score

Weakness Type (CWE)

Reliance on Undefined, Unspecified, or Implementation-Defined Behavior

CWE-758

Top Fix

icon

Upgrade Version

Upgrade to version os_socketaddr - 0.2.2

Learn More

CVSS v3.1

Base Score:
Attack Vector (AV): LOCAL
Attack Complexity (AC): LOW
Privileges Required (PR): NONE
User Interaction (UI): NONE
Scope (S): UNCHANGED
Confidentiality (C): NONE
Integrity (I): NONE
Availability (A): HIGH

Do you need more information?

Contact Us