GitHub Advisory Database
GHSA-mw35-24gh-f82w
keycloak-connect and keycloak-js improperly handle invalid tokens
Details
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. An attacker could use this flaw to bypass authentication and gain access to restricted information, or to possibly conduct further attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | keycloak-connect | From 2.5.0 before 3.1.0 (fixed in 3.1.0) |
| npm | keycloak-js | From 2.5.0 before 3.1.0 (fixed in 3.1.0) |