Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-27376 EUVD-2021-1871GHSA-rm4w-6696-r77pRUSTSEC-2021-0021

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

Published Feb 18, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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

EcosystemPackageAffectedFixedRecord
crates.io nb-connect < 1.0.3 1.0.3 GHSA-rm4w-6696-r77p
crates.io nb-connect >= 0.0.0-0, < 1.0.3 1.0.3 RUSTSEC-2021-0021

References