Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-46129

Опубликовано: 29 окт. 2023
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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.

A flaw was found in nkeys. 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 using an all-zeros key.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift API for Data Protectionoadp/oadp-velero-plugin-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/ingress-rhel8-operatorWill not fix
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/dpu-network-rhel8-operatorAffected
Red Hat OpenShift Container Platform 4openshift4/oc-mirror-plugin-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-cluster-monitoring-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-contour-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-k8s-prometheus-adapter-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-operator-sdk-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-prometheus-rhel9Not affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-325
https://bugzilla.redhat.com/show_bug.cgi?id=2246986nkeys: xkeys Seal encryption used fixed key for all encryption

EPSS

Процентиль: 31%
0.00374
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
почти 3 года назад

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 us...

CVSS3: 7.5
nvd
почти 3 года назад

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 usi

CVSS3: 7.5
msrc
6 месяцев назад

xkeys Seal encryption used fixed key for all encryption

CVSS3: 7.5
debian
почти 3 года назад

NATS.io is a high performance open source pub-sub distributed communic ...

CVSS3: 7.5
github
почти 3 года назад

xkeys seal encryption used fixed key for all encryption

EPSS

Процентиль: 31%
0.00374
Низкий

7.5 High

CVSS3