# CVE-2021-3424: Keycloak is vulnerable to IDN homograph attack

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-06-01T18:43:33.000Z
- Modified: 2026-06-17T04:05:03.853Z
- Also known as: GHSA-pf38-cw3p-22q9
- Weaknesses: CWE-287
- Assigned by: redhat

## Description

A flaw was found in keycloak as shipped in Red Hat Single Sign-On 7.4 where IDN homograph attacks are possible. A malicious user can register himself with a name already registered and trick admin to grant him extra privileges.

(As written by CVE List.)

## Affected

- keycloak: as shipped in Red Hat Single Sign-On 7.4
- org.keycloak:keycloak-services (Maven): before 18.0.0
- redhat single_sign-on: 7.4

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1933320> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3424> (advisory)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2021-3424](https://www.cve.org/CVERecord?id=CVE-2021-3424), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pf38-cw3p-22q9](https://github.com/advisories/GHSA-pf38-cw3p-22q9), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3424](https://nvd.nist.gov/vuln/detail/CVE-2021-3424), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3424 · Whole record: https://cve.day/CVE-2021-3424.json · Rebuilt by cve.day 2026-11-25T22:58:01.612Z
