GHSA-4v5x-9m47-cqr2: Duplicate Advisory WildFly Elytron OpenID Connect Client Vulnerability

MODERATE
CVSS 4.2
CWE-345
Published
Advisory Summary

GHSA-4v5x-9m47-cqr2 is a MODERATE (CVSS 4.2) wildfly elytron openid connect client vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves wildfly elytron openid connect client extension authorization code injection attack. Remediation is available in the latest vendor maintenance releases.

GHSA-4v5x-9m47-cqr2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4v5x-9m47-cqr2
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-4v5x-9m47-cqr2

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.wildfly:wildfly-elytron-oidc-client-subsystem fixed: Latest secure release
<dependency>
    <groupId>org.wildfly</groupId>
    <artifactId>wildfly-elytron-oidc-client-subsystem</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.wildfly

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-4v5x-9m47-cqr2, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.wildfly

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.wildfly command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

# Duplicate Advisory This advisory has been withdrawn because it is a duplicate of [GHSA-5565-3c98-g6jc](https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-5565-3c98-g6jc). This link is maintained to preserve external references. # Original Description A vulnerability was found in OIDC-Client. When using the RH SSO OIDC adapter with EAP 7.x or when using the elytron-oidc-client subsystem with EAP 8.x, 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.

GHSA-4v5x-9m47-cqr2 Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.wildfly:wildfly-elytron-oidc-client-subsystem
Maven
≤ 34.0.1.Final

References

Frequently Asked Questions

What is GHSA-4v5x-9m47-cqr2?
GHSA-4v5x-9m47-cqr2 is a security vulnerability in Duplicate Advisory involving WildFly Elytron OpenID Connect Client Extension authorization code injection attack under CWE-345: Insufficient Verification of Data Authenticity.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.wildfly:wildfly-elytron-oidc-client-subsystem.
What version fixes GHSA-4v5x-9m47-cqr2?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is wildfly-elytron-oidc-client-subsystem affected?
Yes, org.wildfly:wildfly-elytron-oidc-client-subsystem is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-4v5x-9m47-cqr2?
GHSA-4v5x-9m47-cqr2 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with GHSA-4v5x-9m47-cqr2?
GHSA-4v5x-9m47-cqr2 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check Maven dependencies for GHSA-4v5x-9m47-cqr2?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wildfly'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4v5x-9m47-cqr2",
  "modified" : "2026-01-29T02:38:40Z",
  "published" : "2024-12-09T21:31:02Z",
  "withdrawn" : "2025-03-25T21:48:41Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: WildFly Elytron OpenID Connect Client Extension authorization code injection attack",
  "details" : "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of [GHSA-5565-3c98-g6jc](https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-5565-3c98-g6jc). This link is maintained to preserve external references.\n\n# Original Description\nA vulnerability was found in OIDC-Client. When using the RH SSO OIDC adapter with EAP 7.x or when using the elytron-oidc-client subsystem with EAP 8.x, 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wildfly:wildfly-elytron-oidc-client-subsystem"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "34.0.1.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-12369"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly-security/wildfly-elytron/pull/2253"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly-security/wildfly-elytron/pull/2261"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5ceb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cb"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:3989"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:3990"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:3992"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-12369"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2331178"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wildfly/wildfly"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-10T19:06:02Z",
    "nvd_published_at" : "2024-12-09T21:15:08Z"
  }
}