CVE-2024-4029: Wildfly domain http Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-x7g6-rwhc-g7mj
CVSS 4.1
CWE-770
Published
Advisory Summary

CVE-2024-4029 is a MODERATE (CVSS 4.1) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Wildfly domain http libraries in the Maven ecosystem. The issue involves wildfly vulnerable to denial of service. Remediation is available in the latest vendor maintenance releases.

CVE-2024-4029 at a Glance

CVE Identifier CVE-2024-4029
GHSA Identifier GHSA-x7g6-rwhc-g7mj
Severity MODERATE
CVSS v3.1 Base Score 4.1
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Wildfly domain http
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.1

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

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

How to Fix CVE-2024-4029

To remediate this vulnerability, upgrade all affected Wildfly domain http 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-domain-http fixed: Latest secure release
<dependency>
    <groupId>org.wildfly</groupId>
    <artifactId>wildfly-domain-http</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 CVE-2024-4029, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.wildfly

Analyze the terminal output to locate any version of Wildfly domain http 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Wildfly domain http, 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

A vulnerability was found in Wildfly’s management interface. Due to the lack of limitation of sockets for the management interface, it may be possible to cause a denial of service hitting the nofile limit as there is no possibility to configure or set a maximum number of connections.

CVE-2024-4029 Affected Wildfly domain http Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.wildfly:wildfly-domain-http
Maven
≤ 24.0.0.Final

References

Frequently Asked Questions

What is CVE-2024-4029?
CVE-2024-4029 is a security vulnerability in Wildfly domain http involving Wildfly vulnerable to denial of service under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Wildfly domain http versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.wildfly:wildfly-domain-http.
What version fixes CVE-2024-4029?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is wildfly-domain-http affected?
Yes, org.wildfly:wildfly-domain-http is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-4029?
CVE-2024-4029 has a CVSS v3.1 base score of 4.1 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2024-4029?
CVE-2024-4029 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Maven dependencies for CVE-2024-4029?
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-x7g6-rwhc-g7mj",
  "modified" : "2026-07-21T15:01:39Z",
  "published" : "2024-05-02T15:30:35Z",
  "aliases" : [ "CVE-2024-4029" ],
  "summary" : "Wildfly vulnerable to denial of service",
  "details" : "A vulnerability was found in Wildfly’s management interface. Due to the lack of limitation of sockets for the management interface, it may be possible to cause a denial of service hitting the nofile limit as there is no possibility to configure or set a maximum number of connections.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wildfly:wildfly-domain-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "24.0.0.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-4029"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly/pull/17914"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly/pull/17935"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8075"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8076"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8077"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8080"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8823"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8824"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8826"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-4029"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2278615"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-x7g6-rwhc-g7mj"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wildfly/wildfly"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-03T20:11:59Z",
    "nvd_published_at" : "2024-05-02T15:15:07Z"
  }
}