LowGO-2023-2163BIT-nats-2023-46129CVE-2023-46129GHSA-mr45-rx8q-wcm9
Curve KeyPairs fail to encrypt in github.com/nats-io/nkeys
Published 2 Nov 2023 · Updated 4 Feb 2026
Is your project on an affected github.com/nats-io/nkeys?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=0.4.0 <0.4.6
- Fixed in
- 0.4.6
Update to the fixed version for your release line, for example:
go get github.com/nats-io/nkeys@v0.4.6Details
Curve KeyPairs always use the same (all-zeros) key to encrypt data, and provide no security.
Is GO-2023-2163 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/nats-io/nkeys, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.