{"id":"CVE-2017-7474","aliases":["GHSA-mw35-24gh-f82w"],"kind":"cve","tier":"cold","status":"published","title":"keycloak-connect and keycloak-js improperly handle invalid tokens","description":"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.","ai_summary":null,"severity":"critical","cvss":{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-253"],"remote":true,"remote_unauth":true,"epss":{"score":0.02542,"percentile":0.85429,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"npm","name":"keycloak-connect","affected":">= 2.5.0, < 3.1.0","fixed":["3.1.0"],"source":"osv"},{"ecosystem":"npm","name":"keycloak-js","affected":">= 2.5.0, < 3.1.0","fixed":["3.1.0"],"source":"osv"}],"affected_products":[{"vendor":"Red Hat, Inc.","product":"Keycloak Node.js adapter","versions":"2.5 - 3.0","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade keycloak-connect to 3.1.0 or later.\nUpgrade keycloak-js to 3.1.0 or later.","technologies":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2017-1203.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7474","kind":"vendor"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1445271","kind":"other"}],"workarounds":null,"vendors":["keycloak","red hat, inc."],"products":["keycloak node.js adapter","keycloak-nodejs-auth-utils"],"cpes":["cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.0:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.0:cr1:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.1:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.2:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.3:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.4:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.5:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.6:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:2.5.7:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:3.0.0:*:*:*:*:*:*:*","cpe:2.3:a:keycloak:keycloak-nodejs-auth-utils:3.0.0:cr1:*:*:*:*:*:*"],"published_at":"2017-05-12T19:00:00.000Z","modified_at":"2026-06-17T01:24:25.230Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7474"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-mw35-24gh-f82w","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2017-7474","markdown":"https://flawdb.com/CVE-2017-7474.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-7474"}}