CVE-2021-27376Nb-connect Project Nb-connect
Critical 9.8 No auth needed
Follow: this CVE · Nb-connect Project · Nb-connect Project Nb-connect We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Feb 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Nb-connect.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | nb-connect |
< 1.0.3 |
1.0.3 |
cargo update -p nb-connect --precise 1.0.3 |
| crates.io | nb-connect |
≥ 0.0.0-0 < 1.0.3 |
1.0.3 |
cargo update -p nb-connect --precise 1.0.3 |
Per OSV / GitHub Advisories (GHSA-rm4w-6696-r77p, RUSTSEC-2021-0021). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nb-connect_project | nb-connect | < 1.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Third Party Advisory