{"id":"CVE-2022-23541","aliases":["GHSA-hjrf-2m68-5959"],"summary":"jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC","published_at":"2022-12-22T00:00:00Z","modified_at":"2026-02-02T07:28:16.101738Z","products":[],"rating":{"severity":"medium","score":5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008100000210106373,"percentile":0.576770007610321,"date":"2026-11-19T00:00:00Z"},"priority":6,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"auth0/node-jsonwebtoken","versions":["<= 8.5.1"],"provider":"cvelistv5","source":"CVE-2022-23541","relation":"self"},{"ecosystem":"NVD","package":"auth0:jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.5.1"}]}],"provider":"nvd","source":"CVE-2022-23541","relation":"self"},{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.1-tuxcare.0"},{"fixed":"8.5.1-tuxcare.1"}]}],"versions":["8.5.1"],"fixed":["8.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1774657372","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.1-tuxcare.0"},{"fixed":"0.4.1-tuxcare.3"}]}],"versions":["0.4.1","0.4.1-tuxcare.1","0.4.1-tuxcare.2"],"fixed":["0.4.1-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1776818208","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0-tuxcare.0"},{"fixed":"5.4.0-tuxcare.1"}]}],"versions":["5.4.0"],"fixed":["5.4.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786361774","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0-tuxcare.0"},{"fixed":"0.4.0-tuxcare.7"}]}],"versions":["0.4.0","0.4.0-tuxcare.1","0.4.0-tuxcare.2","0.4.0-tuxcare.3","0.4.0-tuxcare.4","0.4.0-tuxcare.5","0.4.0-tuxcare.6"],"fixed":["0.4.0-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1787321999","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0-tuxcare.0"},{"fixed":"0.3.0-tuxcare.3"}]}],"versions":["0.3.0","0.3.0-tuxcare.1","0.3.0-tuxcare.2"],"fixed":["0.3.0-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1787322010","relation":"upstream"},{"ecosystem":"npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.0.0"}]}],"fixed":["9.0.0"],"provider":"osv","source":"GHSA-hjrf-2m68-5959","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"RHODF 4.13 for RHEL 9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.13::el9","status":"fixed","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:3742"],"provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"RHODF 4.13 for RHEL 9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.13::el9","status":"not_affected","packages":["odf4/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"],"package_count":23,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/mcg-core-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-23541"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0218","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0218","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-01-29T23:00:00Z","modified_at":"2023-01-29T23:00:00Z","summary":"IBM Integration Bus: Mehrere Schwachstellen","details":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in IBM Integration Bus ausnutzen, um beliebigen Programmcode auszuführen oder Sicherheitsvorkehrungen zu umgehen.\n\nIBM Integration Bus ist ein \"lightweight\" ESB, welche die Integration von SOAP oder non-SOAP Datenquellen von verschiedenen Plattformen ermöglicht.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-0218"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0218.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0218"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6890605"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1208","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1208","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-05-14T22:00:00Z","modified_at":"2023-10-05T22:00:00Z","summary":"HCL BigFix: Mehrere Schwachstellen","details":"Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in HCL BigFix ausnutzen, um einen Denial of Service Zustand herbeizuführen oder Sicherheitsvorkehrungen zu umgehen.\n\nBigFix ist eine Lösung zum Erkennen und Verwalten von physischen und virtuellen Endpunkten.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-1208"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1208.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1208"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-035866b576"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7030667"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7023212"},{"type":"WEB","url":"https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0104732"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1542","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1542","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-06-22T22:00:00Z","modified_at":"2025-11-18T23:00:00Z","summary":"Red Hat OpenShift: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um einen Denial of Service Zustand herbeizuführen, Informationen offenzulegen, Dateien zu manipulieren oder Sicherheitsvorkehrungen zu umgehen.\n\nRed Hat OpenShift ist eine \"Platform as a Service\" (PaaS) Lösung zur Bereitstellung von Applikationen in der Cloud.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2023-1542"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1542.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1542"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3742"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3614"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3615"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3613"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3918"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3943"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3910"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3915"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:3925"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4003"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-6cfe7492c1"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-aa7c75ed4a"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4025"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4112"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4113"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4114"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4053"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4204"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4090"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4241"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4238"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4093"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4091"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4225"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4226"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4470"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4335"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:4674"}]},{"provider":"osv","source_id":"CLSA-2026-1774657372","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1774657372","published_at":"2026-08-04T14:52:15Z","modified_at":"2026-10-15T09:47:48.482531Z","summary":"TuxCare security update for jsonwebtoken (3 CVEs)","details":"TuxCare rebuilt jsonwebtoken to address 3 CVEs. Fixed in 8.5.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.5.1-tuxcare.0"},{"fixed":"8.5.1-tuxcare.1"}]}],"versions":["8.5.1"],"fixed":["8.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1774657372","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1776818208","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1776818208","published_at":"2026-08-04T14:52:27Z","modified_at":"2026-10-15T09:45:45.676261Z","summary":"TuxCare security update for jsonwebtoken (3 CVEs)","details":"TuxCare rebuilt jsonwebtoken to address 3 CVEs. Fixed in 0.4.1-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.1-tuxcare.0"},{"fixed":"0.4.1-tuxcare.3"}]}],"versions":["0.4.1","0.4.1-tuxcare.1","0.4.1-tuxcare.2"],"fixed":["0.4.1-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1776818208","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1786361774","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1786361774","published_at":"2026-08-10T11:36:14Z","modified_at":"2026-10-15T09:45:58.184593Z","summary":"TuxCare security update for jsonwebtoken (2 CVEs)","details":"TuxCare rebuilt jsonwebtoken to address 2 CVEs. Fixed in 5.4.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0-tuxcare.0"},{"fixed":"5.4.0-tuxcare.1"}]}],"versions":["5.4.0"],"fixed":["5.4.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786361774","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1787321999","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1787321999","published_at":"2026-08-21T14:19:59Z","modified_at":"2026-10-15T09:46:45.667936Z","summary":"TuxCare security update for jsonwebtoken (2 CVEs)","details":"TuxCare rebuilt jsonwebtoken to address 2 CVEs. Fixed in 0.4.0-tuxcare.7.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0-tuxcare.0"},{"fixed":"0.4.0-tuxcare.7"}]}],"versions":["0.4.0","0.4.0-tuxcare.1","0.4.0-tuxcare.2","0.4.0-tuxcare.3","0.4.0-tuxcare.4","0.4.0-tuxcare.5","0.4.0-tuxcare.6"],"fixed":["0.4.0-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1787321999","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1787322010","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1787322010","published_at":"2026-08-21T14:20:10Z","modified_at":"2026-10-15T09:46:45.665795Z","summary":"TuxCare security update for jsonwebtoken (3 CVEs)","details":"TuxCare rebuilt jsonwebtoken to address 3 CVEs. Fixed in 0.3.0-tuxcare.3.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0-tuxcare.0"},{"fixed":"0.3.0-tuxcare.3"}]}],"versions":["0.3.0","0.3.0-tuxcare.1","0.3.0-tuxcare.2"],"fixed":["0.3.0-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1787322010","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2022-23541","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-23541","license":"CC-BY-4.0","published_at":"2022-12-22T17:52:22.173Z","modified_at":"2025-02-13T16:32:22.327Z","summary":"jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2022-23541"}],"affected":[{"ecosystem":"CVE","package":"auth0/node-jsonwebtoken","versions":["<= 8.5.1"],"provider":"cvelistv5","source":"CVE-2022-23541","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-hjrf-2m68-5959"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/releases/tag/v9.0.0"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0007/"}]},{"provider":"nvd","source_id":"CVE-2022-23541","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23541","severity":[],"affected":[{"ecosystem":"NVD","package":"auth0:jsonwebtoken","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.5.1"}]}],"provider":"nvd","source":"CVE-2022-23541","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-hjrf-2m68-5959","relation":"self","url":"https://osv.dev/vulnerability/GHSA-hjrf-2m68-5959","license":"CC-BY-4.0","published_at":"2022-12-22T03:33:19Z","modified_at":"2024-06-24T21:24:06Z","summary":"jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC","details":"# Overview\n\nVersions `<=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](https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback)) will result in incorrect verification of tokens. There is a possibility of using a different algorithm and key combination in verification  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. \n\n# Am I affected?\n\nYou will be affected if your application is supporting usage of both symmetric key and asymmetric key in jwt.verify() implementation with the same key retrieval function. \n\n# How do I fix it?\n \nUpdate to version 9.0.0.\n\n# Will the fix impact my users?\n\nThere is no impact for end users","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GHSA-hjrf-2m68-5959"}],"affected":[{"ecosystem":"npm","package":"jsonwebtoken","purl":"pkg:npm/jsonwebtoken","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.0.0"}]}],"fixed":["9.0.0"],"provider":"osv","source":"GHSA-hjrf-2m68-5959","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-hjrf-2m68-5959"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23541"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3"},{"type":"PACKAGE","url":"https://github.com/auth0/node-jsonwebtoken"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/releases/tag/v9.0.0"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0007"}]},{"provider":"redhat-vex","source_id":"CVE-2022-23541","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-23541","license":"CC-BY-4.0","published_at":"2022-12-22T00:00:00Z","modified_at":"2026-02-02T07:28:16.101738Z","summary":"jsonwebtoken: Insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC","details":"A flaw was found in the jsonwebtoken library. Affected versions of jsonwebtoken library can be misconfigured so that passing a poorly implemented key retrieval function will result in incorrect verification of tokens. Using a different algorithm and key combination in verification than what 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 the successful validation of forged tokens.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2022-23541"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-23541"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"RHODF 4.13 for RHEL 9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.13::el9","status":"fixed","packages":["odf4/mcg-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:3742"],"provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"RHODF 4.13 for RHEL 9","cpe":"cpe:/a:redhat:openshift_data_foundation:4.13::el9","status":"not_affected","packages":["odf4/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"],"package_count":23,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-23541"},{"vendor":"Red Hat","product":"Red Hat Openshift Container Storage 4","cpe":"cpe:/a:redhat:openshift_container_storage:4","status":"affected","packages":["ocs4/mcg-core-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-23541"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23541.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-23541"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2169375"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-23541"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23541"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-hjrf-2m68-5959"}]}],"references":[{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-hjrf-2m68-5959"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3"},{"type":"WEB","url":"https://github.com/auth0/node-jsonwebtoken/releases/tag/v9.0.0"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0007/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23541"},{"type":"PACKAGE","url":"https://github.com/auth0/node-jsonwebtoken"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0007"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23541.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-23541"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2169375"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-23541"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0218","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0218","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-01-29T23:00:00Z","relation":"upstream"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1208","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1208","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-10-05T22:00:00Z","relation":"upstream"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-1542","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-1542","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-11-18T23:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1774657372","url":"https://osv.dev/vulnerability/CLSA-2026-1774657372","modified_at":"2026-10-15T09:47:48.482531Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1776818208","url":"https://osv.dev/vulnerability/CLSA-2026-1776818208","modified_at":"2026-10-15T09:45:45.676261Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1786361774","url":"https://osv.dev/vulnerability/CLSA-2026-1786361774","modified_at":"2026-10-15T09:45:58.184593Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1787321999","url":"https://osv.dev/vulnerability/CLSA-2026-1787321999","modified_at":"2026-10-15T09:46:45.667936Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1787322010","url":"https://osv.dev/vulnerability/CLSA-2026-1787322010","modified_at":"2026-10-15T09:46:45.665795Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-23541","url":"https://www.cve.org/CVERecord?id=CVE-2022-23541","license":"CC-BY-4.0","modified_at":"2025-02-13T16:32:22.327Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-23541","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23541","relation":"self"},{"provider":"osv","source_id":"GHSA-hjrf-2m68-5959","url":"https://osv.dev/vulnerability/GHSA-hjrf-2m68-5959","license":"CC-BY-4.0","modified_at":"2024-06-24T21:24:06Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-23541","url":"https://access.redhat.com/security/cve/CVE-2022-23541","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:16.101738Z","relation":"self"}]}
