MODERATE 4.2

CVE-2024-12369

WildFly Elytron OpenID Connect Client ExtensionOIDC authorization code injection attack

Description

Impact

A vulnerability was found in OIDC-Client. When using the elytron-oidc-client subsystem with WildFly, authorization code injection attacks can occur, allowing an attacker to inject a stolen authorization code into the attacker's own session with the client with a victim's identity. This is usually done with a Man-in-the-Middle (MitM) or phishing attack.

Patches

2.2.9.Final2.6.2.Final

Workarounds

Currently, no mitigation is currently available for this vulnerability.

References

https://nvd.nist.gov/vuln/detail/CVE-2024-12369 https://access.redhat.com/security/cve/CVE-2024-12369 https://bugzilla.redhat.com/show_bug.cgi?id=2331178 https://issues.redhat.com/browse/ELY-2887

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.wildfly.security » wildfly-elytron
>= 1.17.0.Final, < 2.2.9.Final>= 2.3.0.Final, < 2.6.2.Final
2.2.9.Final, 2.6.2.Final
org.wildfly.security » wildfly-elytron-http-oidc
>= 1.17.0.Final, < 2.2.9.Final>= 2.3.0.Final, < 2.6.2.Final
2.2.9.Final, 2.6.2.Final

Blast radius

2affected artifacts
114affected versions
171dependent artifacts (est.)
7,582dependent versions

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

DepthDependent versions
Direct
679
2 hops
1,490
3 hops
2,593
4 hops
1,778
5 hops
511
6 hops
531

Most used dependents

Computed from the dependency graph of build 20261202.0245 (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.