CVE-2023-46129
CVE-2023-46129 is a high-severity vulnerability in Linuxfoundation Nats-server with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-321.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-321
- Affected product: Linuxfoundation Nats-server
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-46129?
- 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.
- How severe is CVE-2023-46129?
- CVE-2023-46129 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-46129 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-46129?
- CVE-2023-46129 primarily affects Linuxfoundation Nats-server. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-46129?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-46129 published?
- CVE-2023-46129 was published on 2023-10-31 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2023/10/31/1
- https://github.com/nats-io/nkeys/security/advisories/GHSA-mr45-rx8q-wcm9
- https://lists.fedoraproject.org/archives/list/[email protected]/message/R3UETKPUB3V5JS5TLZOF3SMTGT5K5APS/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULQQONMSCQSH5Z5OWFFQHCGEZ3NL4DRJ/
Affected products (2)
- cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*
- cpe:2.3:a:nats:nkeys:*:*:*:*:*:*:*:*
More vulnerabilities in Linuxfoundation Nats-server
- CVE-2022-28357 — Critical (CVSS 9.8): NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action…
- CVE-2020-26892 — Critical (CVSS 9.8): The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are…
- CVE-2022-24450 — High (CVSS 8.8): NATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the…
- CVE-2026-33216 — High (CVSS 8.6): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
- CVE-2026-33218 — High (CVSS 7.5): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
- CVE-2026-29785 — High (CVSS 7.5): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
All CVEs affecting Linuxfoundation Nats-server →
Other CWE-321 vulnerabilities
- CVE-2024-30207 — Critical (CVSS 10.0): A vulnerability has been identified in SIMATIC RTLS Locating Manager (6GT2780-0DA00) (All versions < V3.0.1.1), SIMATIC…
- CVE-2014-5419 — Critical (CVSS 10.0): GE Multilink ML800, ML1200, ML1600, and ML2400 switches with firmware 4.2.1 and earlier and Multilink ML810, ML3000,…
- CVE-2024-35344 — Critical (CVSS 9.9): Certain Anpviz products contain a hardcoded cryptographic key stored in the firmware of the device. This affects…
- CVE-2026-28742 — Critical (CVSS 9.8): Naxclow devices use a uniform request-signing scheme based on a hard-coded, platform-wide salt embedded in every…
- CVE-2026-32644 — Critical (CVSS 9.8): Specific firmware versions of Milesight AIOT cameras use SSL certificates with default private keys.
- CVE-2025-67112 — Critical (CVSS 9.8): Use of a hard-coded AES-256-CBC key in the configuration backup/restore implementation of Small Cell Sercomm SCE4255W…