{"id":"CVE-2017-7474","aliases":["EUVD-2017-0349","GHSA-mw35-24gh-f82w"],"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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02542,"percentile":0.85094,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-253"],"published":"2017-05-12T19:00:00Z","modified":"2026-06-17T01:24:25Z","fixes":[{"ecosystem":"npm","package":"keycloak-connect","fixed_in":["3.1.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"keycloak-js","fixed_in":["3.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"keycloak-connect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"3.1.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"keycloak-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"3.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"keycloak-connect","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"3.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"keycloak-js","ranges":[{"type":"SEMVER","events":[{"introduced":"2.5.0"},{"fixed":"3.1.0"}]}]}],"products":[{"vendor":"keycloak","product":"keycloak-nodejs-auth-utils"},{"vendor":"red hat, inc.","product":"keycloak node.js adapter"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1445271","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-1203.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7474","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mw35-24gh-f82w"}],"sources":{"cve":[{"id":"CVE-2017-7474","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.","status":"published","published":"2017-05-12T19:00:00Z","modified":"2024-08-05T16:04:11.544Z","cwes":["CWE-253"],"updated_at":"2026-11-02T14:33:20.488433Z"}],"euvd":[{"id":"EUVD-2017-0349","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.","status":"published","published":"2017-05-12T19:00:00Z","modified":"2024-08-05T16:04:11Z","updated_at":"2026-11-03T02:39:08.461482Z"}],"ghsa":[{"id":"GHSA-mw35-24gh-f82w","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.","status":"published","published":"2017-11-15T20:41:51Z","modified":"2023-09-08T19:56:21Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-253"],"updated_at":"2026-11-02T14:37:03.287418Z"}],"nvd":[{"id":"CVE-2017-7474","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.","status":"published","published":"2017-05-12T19:29:00.16Z","modified":"2026-06-17T01:24:25.23Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-253"],"updated_at":"2026-11-02T14:03:47.848196Z"}],"osv":[{"id":"GHSA-mw35-24gh-f82w","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.","status":"published","published":"2017-11-15T20:41:51Z","modified":"2023-11-08T03:59:24.497819Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-253"],"updated_at":"2026-11-02T15:46:52.170928Z"}]}}
