← Übersicht Nicht im beobachteten Stack

jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC

CVE-2022-23541 · GHSA-hjrf-2m68-5959

Mittel · CVSS 5.0 Red Hat: Moderate Netzwerk · mit Login Kein Fix bekannt

Veröffentlicht
22.12.2022
Zuletzt geändert
02.02.2026
EPSS (30 Tage)
0.8 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Beschreibung

Originaltext der Quelle, nicht übersetzt.

jsonwebtoken is an implementation of JSON Web Tokens. Versions `<= 8.5.1` of `jsonwebtoken` library can be misconfigured so that passing a poorly implemented key retrieval function referring to the `secretOrPublicKey` argument from the readme link will result in incorrect verification of tokens. There is a possibility of using a different algorithm and key combination in verification, other than the one that was used to sign the tokens. Specifically, tokens signed with an asymmetric public key could be verified with a symmetric HS256 algorithm. This can lead to successful validation of forged tokens. If your application is supporting usage of both symmetric key and asymmetric key in jwt.verify() implementation with the same key retrieval function. This issue has been patched, please update to version 9.0.0.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 1 behoben, 1 nicht betroffen.

Red Hat OpenShift Container Platform 4 BetroffenFix ausstehend openshift4/ose-console
Red Hat Openshift Container Storage 4 Betroffenaußerhalb des Supports ocs4/mcg-core-rhel8
RHODF 4.13 for RHEL 9 Behoben odf4/mcg-core-rhel9 RHSA-2023:3742
Nicht betroffen (1)
RHODF 4.13 for RHEL 9Nicht betroffenverwundbarer Code nicht enthaltenodf4/cephcsi-rhel9, odf4/mcg-cli-rhel9, odf4/mcg-operator-bundle, odf4/mcg-rhel9-operator, odf4/ocs-client-operator-bundle, odf4/ocs-client-rhel9-operator, odf4/ocs-metrics-exporter-rhel9, odf4/ocs-operator-bundle, odf4/ocs-rhel9-operator, odf4/odf-console-rhel9, odf4/odf-csi-addons-operator-bundle, odf4/odf-csi-addons-rhel9-operator, odf4/odf-csi-addons-sidecar-rhel9, odf4/odf-multicluster-console-rhel9, odf4/odf-multicluster-operator-bundle, odf4/odf-multicluster-rhel9-operator, odf4/odf-must-gather-rhel9, odf4/odf-operator-bundle, odf4/odf-rhel9-operator, odf4/odr-cluster-operator-bundle, odf4/odr-hub-operator-bundle, odf4/odr-rhel9-operator, odf4/rook-ceph-rhel9-operator
Weitere betroffene Pakete (8)
CVEauth0/node-jsonwebtokenkein Fix bekanntCVE-2022-23541
NVDauth0:jsonwebtokenkein Fix bekanntCVE-2022-23541
TuxCare:npmjsonwebtoken8.5.1-tuxcare.0 → 8.5.1-tuxcare.1CLSA-2026-1774657372
TuxCare:npmjsonwebtoken0.4.1-tuxcare.0 → 0.4.1-tuxcare.3CLSA-2026-1776818208
TuxCare:npmjsonwebtoken5.4.0-tuxcare.0 → 5.4.0-tuxcare.1CLSA-2026-1786361774
TuxCare:npmjsonwebtoken0.4.0-tuxcare.0 → 0.4.0-tuxcare.7CLSA-2026-1787321999
TuxCare:npmjsonwebtoken0.3.0-tuxcare.0 → 0.3.0-tuxcare.3CLSA-2026-1787322010
npmjsonwebtoken9.0.0GHSA-hjrf-2m68-5959

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.