high7.2
CVE-2022-2668
Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console
Impact
An issue was discovered in Keycloak allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the `UPLOAD_SCRIPTS` feature is disabled
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-parent | < 19.0.2 | 19.0.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | Version 18.0.0 |
| Redhat | Single Sign-On | Version 7.0 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2022-2668
- https://github.com/advisories/GHSA-wf7g-7h6h-678v
- https://github.com/keycloak/keycloak/security/advisories/GHSA-wf7g-7h6h-678v
- https://nvd.nist.gov/vuln/detail/CVE-2022-2668
- https://github.com/keycloak/keycloak/commit/e2ae7eef39b27e48ffa4764995d558555f02838c
- https://bugzilla.redhat.com/show_bug.cgi?id=2115392