medium5.5
CVE-2019-10157
Forced Logout in keycloak-connect
Impact
Versions of `keycloak-connect` prior to 4.4.0 are vulnerable to Forced Logout. The package fails to validate JWT signatures on the `/k_logout` route, allowing attackers to logout users and craft malicious JWTs with NBF values that prevent user access indefinitely. ## Recommendation Upgrade to version 4.4.0 or later.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | keycloak-connect | < 4.8.3 | 4.8.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | before 4.8.3 |
| Redhat | Single Sign-On | before 7.3.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/108734
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10157
- https://github.com/advisories/GHSA-68hw-vfh7-xvg8
- https://nvd.nist.gov/vuln/detail/CVE-2019-10157
- https://github.com/keycloak/keycloak-nodejs-connect/commit/55e54b55d05ba636bc125a8f3d39f0052d13f8f6
- https://snyk.io/vuln/SNYK-JS-KEYCLOAKNODEJSCONNECT-449920
- https://www.npmjs.com/advisories/978