We found results for “”
WS-2022-0285
Good to know:
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
Related Resources (6)
Severity Score
Weakness Type (CWE)
Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
CWE-758Top Fix
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 |