
We found results for “”
WS-2022-0285
Date: August 19, 2025
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
Related Resources (6)
Severity Score
Weakness Type (CWE)
Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
CWE-758CVSS 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 |