{"id":"EUVD-2023-2780","revision":"6dae03fbf4154482a19fd7d3c059c25a","records":[{"revision":"6dae03fbf4154482a19fd7d3c059c25a","observedAt":"2026-11-13T00:22:03.823+00:00","statement":{"source":"euvd","id":"EUVD-2023-2780","aliases":["CVE-2023-46129","GHSA-mr45-rx8q-wcm9"],"title":"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 jus…","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.  \nFIXME: 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":null}],"references":["https://github.com/nats-io/nkeys/security/advisories/GHSA-mr45-rx8q-wcm9","http://www.openwall.com/lists/oss-security/2023/10/31/1","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULQQONMSCQSH5Z5OWFFQHCGEZ3NL4DRJ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R3UETKPUB3V5JS5TLZOF3SMTGT5K5APS/"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2780","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 30, 2023, 11:47:36 PM","dateUpdated":"Feb 27, 2025, 8:38:56 PM"},"relatedAdvisories":[{"id":"RHSA-2023:7663","title":"Red Hat Security Advisory: Red Hat OpenShift distributed tracing 3.0.0 operator/operand containers","vulnerabilityIds":["CVE-2023-45142","CVE-2023-46129"]},{"id":"WID-SEC-W-2023-3067","title":"Red Hat OpenShift: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2023-45142","CVE-2023-46129"]},{"id":"msrc_CVE-2023-46129","title":"xkeys Seal encryption used fixed key for all encryption","vulnerabilityIds":["CVE-2023-46129"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-2780","identifiers":["EUVD-2023-2780","CVE-2023-46129","GHSA-mr45-rx8q-wcm9"]},"retained":false,"historicalAffected":[]}],"coverage":[]}