HIGH 8.1

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)

ArtifactAffected versionsFixed in
org.keycloak » keycloak-saml-core
< 18.0.0
18.0.0

Blast radius

1affected artifacts
170affected versions
104dependent artifacts (est.)
3,540dependent versions

58% of the dependent artifacts (61) still pull an affected version in their latest release.

DepthDependent versions
Direct
904
2 hops
1,431
3 hops
991
4 hops
135
5 hops
62
6 hops
17

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webaccess.redhat.com
Webbugzilla.redhat.com