CVE-2017-12161: It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a
CVE-2017-12161 is a high-severity flaw (CVSS 8.8) affecting keycloak. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request. An attacker could use this flaw to craft a malicious password reset request and gain a valid reset token, leading to information disclosure or further attacks.
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12161?
keycloak: upgrade to 3.4.2. Exact commands for each OS are on this page.
Is CVE-2017-12161 being exploited?
CVE-2017-12161 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12161 affect?
CVE-2017-12161 affects keycloak. Severity is high (CVSS 8.8). It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request. An attacker could use this flaw to craft a malicious password reset request and gain a valid res
How urgent is CVE-2017-12161?
Priority 48/100. High severity
Software pages
Related CVEs
- CVE-2023-6927 MEDIUM 4.6 MITIGATE DOWNGRADE A flaw was found in Keycloak
- CVE-2023-6563 HIGH 7.7 UPGRADE DOWNGRADE An unconstrained memory consumption vulnerability was discovered in Keycloak
- CVE-2023-6291 HIGH 7.1 UPGRADE DOWNGRADE A flaw was found in the redirect_uri validation logic in Keycloak
- CVE-2023-6134 MEDIUM 4.6 UPGRADE UPGRADE A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is app
- CVE-2025-8419 MEDIUM 5.3 MITIGATE A vulnerability was found in Keycloak-services