CVE-2021-3827
ECP SAML binding bypasses authentication flows
Description
Description
A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed. By exploiting this behavior an attacker can bypass the MFA authentication by sending a SOAP request with an AuthnRequest and Authorization header with the user's credentials. The highest threat from this vulnerability is to confidentiality and integrity.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.keycloak » keycloak-saml-core | < 18.0.0 | 18.0.0 |
Blast radius
58% of the dependent artifacts (61) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 904 |
| 2 hops | 1,431 |
| 3 hops | 991 |
| 4 hops | 135 |
| 5 hops | 62 |
| 6 hops | 17 |
Most used dependents
- org.keycloak » keycloak-dependencies-server-all22 usages
- org.hawkular.accounts » hawkular-accounts-feature-pack11 usages
- org.keycloak » keycloak-quarkus-server11 usages
- org.keycloak » keycloak-wildfly-adapter-dist10 usages
- org.keycloak » keycloak-server-feature-pack8 usages
- org.keycloak » keycloak-server-overlay8 usages
- org.keycloak » keycloak-testsuite-integration8 usages
- org.keycloak » keycloak-saml-servlet-filter-adapter7 usages
- org.keycloak » keycloak-saml-tomcat-adapter-core6 usages
- org.keycloak.testsuite » integration-arquillian-testsuite-providers6 usages
- org.keycloak » keycloak-saml-jetty-adapter-core5 usages
- org.hawkular.agent » hawkular-wildfly-agent-itest-feature-pack5 usages
- org.keycloak » keycloak-quarkus-dist5 usages
- org.hawkular.accounts » hawkular-accounts-distribution5 usages
- org.keycloak » keycloak-quarkus-server-deployment4 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-3827 | nvd.nist.gov |
| Package | keycloak/keycloak | github.com |
| Web | keycloak/keycloak advisory GHSA-4pc7-vqv5-5r3v | github.com |
| Web | keycloak/keycloak commit 44000ca | github.com |
| Web | security/cve/CVE-2021-3827 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
