CVE-2021-27376
nb-connect invalidly assumes the memory layout of std::net::SocketAddr
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue was discovered in the nb-connect crate before 1.0.3 for Rust. It may have invalid memory access for certain versions of the standard library because it relies on a direct cast of std::net::SocketAddrV4 and std::net::SocketAddrV6 data structures.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | nb-connect | 1.0.3 |