CVE-2023-6927
Keycloak: open redirect via "form_post.jwt" jarm response mode
Reported by redhat · Published December 18, 2023
keycloak-core is fixed in 23.0.4 (Maven Central)
A flaw was found in Keycloak. This issue may allow an attacker to steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt" which could be used to bypass the security patch implemented to address CVE-2023-6134.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.keycloak:keycloak-core | Maven Central | 23.0.4 |
| keycloak | Wolfi | 23.0.4-r0 |
| keycloak | Chainguard | 23.0.4-r0 |
| keycloak-fips | Chainguard | 23.0.4-r0 |
| keycloak | dhi.docker.com | 23.0.4 |
| keycloak | DHI | 23.0.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat build of Keycloak 22 | 22-7 |
| Red Hat | Red Hat build of Keycloak 22.0.8 | |
| Red Hat | Red Hat Single Sign-On 7 | |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.11-3.redhat_00001.1.el7sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.12-1.redhat_00001.1.el7sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.11-3.redhat_00001.1.el8sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.12-1.redhat_00001.1.el8sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.11-3.redhat_00001.1.el9sso |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.12-1.redhat_00001.1.el9sso |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-39 |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-41 |
| Red Hat | Single Sign-On 7.6.6 | |
| Red Hat | Single Sign-On 7.6.6 | |
| Red Hat | Red Hat build of Keycloak 22 | 22-7 |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.12-1.redhat_00001.1.el9sso, 0:18.0.11-3.redhat_00001.1.el9sso |
| Maven | org.keycloak:keycloak-parent | |
| Red Hat | Red Hat build of Keycloak 22.0.8 | |
| wolfi | keycloak | 0 |
| chainguard | keycloak | 0 |
| Red Hat | Red Hat Single Sign-On 7 |
…and 5 more
Timeline
- Dec 18, 2023 CVE Published
- Dec 19, 2023 EPSS Score (30 in total, the first dated here)
- Jan 4, 2024 PoC Published (2 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (13 in total, the first dated here)
- Mar 18, 2026 Security Advisory (13 in total, the first dated here)
- Mar 31, 2026 Distribution Patch (12 in total, the first dated here)
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-6927
vulnetix vdb fixes CVE-2023-6927
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-6927/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:0094 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0095 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0096 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0097 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0098 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0100 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0101 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0798 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0799 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0800 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0801 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:0804 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2255027 issue-trackingx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2023-6927 advisory
- https://github.com/advisories/GHSA-3p75-q5cc-qmj7 advisory