NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2022-2237 — keycloak-connect

MEDIUMFix: keycloak/keycloak-nodejs-connect@190a947

CVE-2022-2237 is a medium-severity (CVSS 6.1) Open Redirect vulnerability in keycloak-connect. A fix is available for keycloak-connect — see the affected versions and patch details below.

keycloak-connect contains Open redirect vulnerability in the Node.js adapter

Also known asGHSA-59fq-727j-hm3f
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-2237.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs34th percentile — riskier than 34% of all scored CVEsHighest risk
0.00%0.30%0.60%0.90%0.3%0.4%May 26Aug 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

157other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
keycloak-connectnpm
149Kdownloads / week

Description

A flaw was found in the Keycloak Node.js Adapter. This flaw allows an attacker to benefit from an Open Redirect vulnerability in the checkSso function.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmkeycloak-connectall versions21.0.1npm install keycloak-connect@21.0.1

Affected Products

2 products · 2 configurations
Application
keycloak node.js adapterredhat
all
Application
single sign-onredhat
1 version
7.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for keycloak-connect, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update keycloak-connect to 21.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-2237 is resolved across your whole dependency graph.

  3. Workarounds

    Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

CodeReady Studio is no longer supported. Therefore, this flaw will not be addressed in CodeReady Studio. Please see https://developers.redhat.com/articles/2022/04/18/announcement-red-hat-codeready-studio-reaches-end-life for more information.

ProductFixed inAdvisory
Red Hat Single Sign-On 7keycloak-js-adapterRHSA-2023:1049

Frequently Asked Questions

A flaw was found in the Keycloak Node.js Adapter. This flaw allows an attacker to benefit from an Open Redirect vulnerability in the checkSso function.
O3 Security · Impact-Aware SCA

Is CVE-2022-2237 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-2237: keycloak Open Redirect — Fixed in 21.0.1