CVE-2017-7474: Vulnerability in keycloak-connect and keycloak-js

keycloak-connect Updated 02 Oct 2025

Summary

15/11/2017
Yes i
Critical
9.8

CVE-2017-7474: keycloak-connect and keycloak-js improperly handle invalid tokens. Affects keycloak-connect versions >= 2.5.0, < 3.1.0. Fixed in 3.1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Keycloak is an open-source identity and access management solution for modern applications and services. It provides features like single sign-on, social login, and user federation. keycloak-connect and keycloak-js are Node.js adapters for integrating Keycloak with Node.js applications. They allow developers to secure their applications using Keycloak's authentication and authorization capabilities.

Vulnerability Detail

The Keycloak Node.js adapter versions 2.5 to 3.0 were found to have a high severity vulnerability. These versions did not handle invalid tokens correctly, which could be exploited by an attacker. By exploiting this flaw, an attacker could bypass authentication and gain access to restricted information or potentially conduct further attacks.

How To Fix

Minimum fixed version

3.1.0

This is the first release that contains the fix.

npm install keycloak-connect@3.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed versions to ensure the security of the application.

Conclusion

The Keycloak Node.js adapter versions 2.5 to 3.0 have a high severity vulnerability that allows for authentication bypass and unauthorized access. To mitigate this vulnerability, it is crucial to upgrade to version 3.1.0 or higher of keycloak-connect and keycloak-js. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for keycloak-connect →

Share this vulnerability

FAQ

Keycloak is an open-source identity and access management solution for modern applications and services. It provides features like single sign-on, social login, and user federation.

keycloak-connect and keycloak-js are Node.js adapters for integrating Keycloak with Node.js applications. They allow developers to secure their applications using Keycloak's authentication and authorization capabilities.

This vulnerability allows an attacker to bypass authentication and gain unauthorized access to restricted information. It can also potentially lead to further attacks on the application.

To fix this vulnerability, it is recommended to upgrade to version 3.1.0 or higher of keycloak-connect and keycloak-js.

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed versions to ensure the security of the application.

Related vulnerabilities

Recent vulnerabilities recorded for keycloak-connect.

How To Fix

Minimum fixed version

3.1.0

This is the first release that contains the fix.

npm install keycloak-connect@3.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback