CVE-2022-4361: Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers.
Medium CVSS 6.1
- CVE id
- CVE-2022-4361
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Keycloak Runtimes and servers |
< 21.1.2 | 21.1.2 |
How to fix it
Upgrade Keycloak to 21.1.2 or later.
- Upgrade Keycloak (the quay.io/keycloak/keycloak image tag) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the SAML or OIDC providers. The vulnerability can allow an attacker to execute malicious scripts by setting the AssertionConsumerServiceURL value or the redirect_uri.
References
- CVE-2022-4361 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-4361
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2151618
- Web: https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2151618
- Web: https://github.com/keycloak/keycloak/commit/a1cfe6e24e5b34792699a00b8b4a8016a5929e3a
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.