Red Hat Security Advisory: Red Hat Single Sign-On 7.5.0 security update on RHEL 7
🔗 CVE IDs covered (1)
📋 Description
CVE-2021-4133 — Keycloak: Incorrect authorization allows unpriviledged users to create other users
🎯 Affected products4
- Red Hat Single Sign-On 7.5 for RHEL 7 Server
- rh-sso7-keycloak-0:15.0.2-3.redhat_00002.1.el7sso.noarch as a component of Red Hat Single Sign-On 7.5 for RHEL 7 Server
- rh-sso7-keycloak-0:15.0.2-3.redhat_00002.1.el7sso.src as a component of Red Hat Single Sign-On 7.5 for RHEL 7 Server
- rh-sso7-keycloak-server-0:15.0.2-3.redhat_00002.1.el7sso.noarch as a component of Red Hat Single Sign-On 7.5 for RHEL 7 Server
✅ Remediation
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 Workaround: 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()
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2021:5218
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.5/
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2033602
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_5218.json