Uninitialized Memory Exposure Affecting nb-connect package, versions <1.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.22% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-NBCONNECT-1076586
  • published18 Feb 2021
  • disclosed18 Feb 2021
  • creditUnknown

Introduced: 18 Feb 2021

CVE-2021-27376  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade nb-connect to version 1.0.3 or higher.

Overview

nb-connect is a Non-blocking TCP or Unix connect

Affected versions of this package are vulnerable to Uninitialized Memory Exposure. 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.

CVSS Scores

version 3.1