CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8) in redhat keycloak. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 15.1.1.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Horg.keycloak:keycloak-services (Maven): fixed in 15.1.1Explain CVE-2021-4133 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4133?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4133?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4133 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:keycloak | from 12.0.0 before 15.1.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-83x4-9cwr-5487 | Maven | org.keycloak:keycloak-services | <15.1.1 | 15.1.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | red_hat_single_sign_on:7.5::el7 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:15.0.2-3.redhat_00002.1.el7sso | RHSA-2021:5218 |
| Red Hat | red_hat_single_sign_on:7.5::el7 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:15.0.4-1.redhat_00001.1.el7sso | RHSA-2022:0151 |
| Red Hat | red_hat_single_sign_on:7.5::el8 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:15.0.2-3.redhat_00002.1.el8sso | RHSA-2021:5219 |
| Red Hat | red_hat_single_sign_on:7.5::el8 | rh-sso7-keycloak, rh-sso7-keycloak-server | 0:15.0.4-1.redhat_00001.1.el8sso | RHSA-2022:0152 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Important.
This flaw affects only Red Hat Single Sign-on 7.5.0. Red Hat Single Sign-on 7.4.x releases are NOT affected. Fix is available for download from customer portal which can be applied on RH-SSO 7.5.0
Access to the user-creation functionality in the REST endpoint can be deactivated using CLI commands in undertow.
run:
bin/jboss-cli.sh --connect
/subsystem=undertow/configuration=filter/expression-filter=keycloakPathOverrideUsersCreateEndpoint:add( \
expression="(regex('^/auth/admin/realms/(.*)/users$') and method(POST))-> response-code(400)" \
)
/subsystem=undertow/server=default-server/host=default-host/filter-ref=keycloakPathOverrideUsersCreateEndpoint:add()
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Single Sign-On 7.5 for RHEL 7 | rh-sso7-keycloak-0:15.0.2-3.redhat_00002.1.el7sso | Fixed 2021-12-20 | RHSA-2021:5218 |
| Red Hat Single Sign-On 7.5 for RHEL 7 | rh-sso7-keycloak-0:15.0.4-1.redhat_00001.1.el7sso | Fixed 2022-01-17 | RHSA-2022:0151 |
| Red Hat Single Sign-On 7.5 for RHEL 8 | rh-sso7-keycloak-0:15.0.2-3.redhat_00002.1.el8sso | Fixed 2021-12-20 | RHSA-2021:5219 |
| Red Hat Single Sign-On 7.5 for RHEL 8 | rh-sso7-keycloak-0:15.0.4-1.redhat_00001.1.el8sso | Fixed 2022-01-17 | RHSA-2022:0152 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso75-openshift-rhel8:7.5-11 | Fixed 2022-01-04 | RHSA-2022:0015 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso7-rhel8-operator-bundle:7.5.0-11 | Fixed 2022-01-04 | RHSA-2022:0015 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso7-rhel8-operator-bundle:7.5.0-12 | Fixed 2022-01-05 | RHSA-2022:0034 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso75-openshift-rhel8:7.5-15 | Fixed 2022-01-18 | RHSA-2022:0164 |
| RHSSO 7.5.1 | keycloak-services | Fixed 2022-01-17 | RHSA-2022:0155 |
| RHSSO 7.5 async for CVE-2021-4133 | keycloak-services | Fixed 2021-12-20 | RHSA-2021:5217 |
| Red Hat A-MQ Online | keycloak-services | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4133.