9.8crit
CVE-2017-7474
keycloak-connect and keycloak-js improperly handle invalid tokens
Also known as GHSA-mw35-24gh-f82w
Published 9 y ago · modified 4 mo ago · JSON
CVSS
9.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.5%
percentile 85%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
2.54% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | keycloak-connect | >=2.5.0, <3.1.0 | 3.1.0 |
| npm | keycloak-js | >=2.5.0, <3.1.0 | 3.1.0 |
Affected products
- Red Hat, Inc. Keycloak Node.js adapter
Classification
- Weakness
- CWE-253 Incorrect Check of Function Return Value
References
- bugzilla.redhat.com /show_bug.cgi?id=1445271 · x_refsource_CONFIRM, x_transferred
- rhn.redhat.com /errata/RHSA-2017-1203.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-7474 · advisory
Sources
- CVE List: CVE-2017-7474
- GitHub Advisory: GHSA-mw35-24gh-f82w
- NVD: CVE-2017-7474
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.