Skip to content

CVE-2021-27376 nb-connect invalidly assumes the memory layout of std::net::SocketAddr

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io nb-connect(crates.io) < 1.0.3; >= 0.0.0-0, < 1.0.3 1.0.3 Fixed
nb-connect project nb-connect < 1.0.3 1.0.3 Fixed

Affected products

ProductAffected versionsFixed in
crates.io nb-connect(crates.io) < 1.0.3 1.0.3
crates.io nb-connect(crates.io) >= 0.0.0-0, < 1.0.3 1.0.3
nb-connect project nb-connect < 1.0.3 1.0.3

References