icon

We found results for “

WS-2022-0285

Good to know:

icon
icon

Date: November 3, 2024

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): NETWORK
Attack Complexity (AC): LOW
Privileges Required (PR): NONE
User Interaction (UI): REQUIRED
Scope (S): CHANGED
Confidentiality (C): LOW
Integrity (I): LOW
Availability (A): NONE

Do you need more information?

Contact Us