# CVE-2023-46129: golang-github-nats-io-nkeys: NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premi...

CVE-2023-46129 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2023-46129, released October 31, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-46129
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0045
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 31, 2023

## Description

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT, and edge computing. The cryptographic key handling library, nkeys, recently gained support for encryption, not just for signing/authentication. This is used in nats-server 2.10 (Sep 2023) and newer for authentication callouts. In nkeys versions 0.4.0 through 0.4.5, corresponding with NATS server versions 2.10.0 through 2.10.3, the nkeys library's `xkeys` encryption handling logic mistakenly passed an array by value into an internal function, where the function mutated that buffer to populate the encryption key to use. As a result, all encryption was actually to an all-zeros key. This affects encryption only, not signing.   FIXME: FILL IN IMPACT ON NATS-SERVER AUTH CALLOUT SECURITY. nkeys Go library 0.4.6, corresponding with NATS Server 2.10.4, has a patch for this issue. No known workarounds are available. For any application handling auth callouts in Go, if using the nkeys library, update the dependency, recompile and deploy that in lockstep.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-github-nats-io-nkeys Debian 13.5 (trixie) | 0.4.6-1 | [DEBIAN-CVE-2023-46129](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46129.md) | Oct 31, 2023 |
| Linux | golang-github-nats-io-nkeys Debian 14 | 0.4.6-1 | [DEBIAN-CVE-2023-46129](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46129.md) | Oct 31, 2023 |
| Linux | nats-server Debian 13.5 (trixie) | 2.10.4-1 | [DEBIAN-CVE-2023-46129](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46129.md) | Oct 31, 2023 |
| Linux | nats-server Debian 14 | 2.10.4-1 | [DEBIAN-CVE-2023-46129](https://patchblox.com/security/data/fix/linux/debian-cve-2023-46129.md) | Oct 31, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
