high8.1
CVE-2022-4137
Keycloak Cross-site Scripting on OpenID connect login service
Impact
A reflected cross-site scripting (XSS) vulnerability was found in the `oob` OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-parent | < 20.0.5 | 20.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | All versions |
| Redhat | Single Sign-On | Version 7.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2023:1043
- https://access.redhat.com/errata/RHSA-2023:1044
- https://access.redhat.com/errata/RHSA-2023:1045
- https://access.redhat.com/errata/RHSA-2023:1049
- https://access.redhat.com/security/cve/CVE-2022-4137
- https://bugzilla.redhat.com/show_bug.cgi?id=2148496
- https://github.com/advisories/GHSA-9hhc-pj4w-w5rv
- https://github.com/keycloak/keycloak/security/advisories/GHSA-9hhc-pj4w-w5rv
- https://github.com/keycloak/keycloak/pull/16774
- https://github.com/keycloak/keycloak/commit/30d0e9d22dae51392e5a3748a1c68c116667359a
- https://nvd.nist.gov/vuln/detail/CVE-2022-4137