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% (31st 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% (31st 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-2026-58253 — High (CVSS 8.8): NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0,…
- 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-58207 — High (CVSS 7.7): NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and…
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-16504 — Critical (CVSS 9.8): Deployment of the VPS.org one-click Zulip template deploys a hardcoded application signing key, a default database…
- CVE-2021-32086 — Critical (CVSS 9.8): An issue was discovered in Quest KACE Systems Deployment Appliance (SMA) 11.0.273. It uses a hardcoded symmetric…
- CVE-2026-47410 — Critical (CVSS 9.8): PraisonAI Platform is the platform layer for the PraisonAI multi-agent teams system. Versions prior to 0.1.4 have an…