Summary
WildFly Elytron OpenID Connect Client ExtensionOIDC authorization code injection attack
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
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.
CVE-2024-12369 has a CVSS score of 4.2 (Medium). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.2.9.Final, 2.6.2.Final); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Frequently Asked Questions
- What is CVE-2024-12369? CVE-2024-12369 is a medium-severity security vulnerability in org.wildfly.security:wildfly-elytron (maven), affecting versions >= 1.17.0.Final, < 2.2.9.Final. It is fixed in 2.2.9.Final, 2.6.2.Final.
- How severe is CVE-2024-12369? CVE-2024-12369 has a CVSS score of 4.2 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which packages are affected by CVE-2024-12369?
org.wildfly.security:wildfly-elytron(maven) (versions >= 1.17.0.Final, < 2.2.9.Final)org.wildfly.security:wildfly-elytron-http-oidc(maven) (versions >= 1.17.0.Final, < 2.2.9.Final)
- Is there a fix for CVE-2024-12369? Yes. CVE-2024-12369 is fixed in 2.2.9.Final, 2.6.2.Final. Upgrade to this version or later.
- Is CVE-2024-12369 exploitable, and should I be worried? Whether CVE-2024-12369 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2024-12369 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2024-12369?
- Upgrade
org.wildfly.security:wildfly-elytronto 2.2.9.Final or later - Upgrade
org.wildfly.security:wildfly-elytronto 2.6.2.Final or later - Upgrade
org.wildfly.security:wildfly-elytron-http-oidcto 2.2.9.Final or later - Upgrade
org.wildfly.security:wildfly-elytron-http-oidcto 2.6.2.Final or later
- Upgrade