CVE-2024-37309: Crate Denial of Service Vulnerability
MODERATECVE-2024-37309 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Crate libraries in the Maven ecosystem. The issue involves cratedb has a client initialized session-renegotiation dos. Remediation is available by upgrading affected packages to version 5.7.2.
CVE-2024-37309 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2024-37309
To remediate this vulnerability, upgrade all affected Crate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.crate</groupId>
<artifactId>crate</artifactId>
<version>5.7.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.crate
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-37309, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.crate
Analyze the terminal output to locate any version of Crate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.7.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.crate 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 Crate, 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
CVE-2024-37309 Affected Crate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.crate:crate
|
Maven |
< 5.7.2
|
5.7.2
|
References
Frequently Asked Questions
What is CVE-2024-37309?
Which Crate versions are affected?
What version fixes CVE-2024-37309?
Is crate affected?
What is the CVSS score of CVE-2024-37309?
What CWE is associated with CVE-2024-37309?
How can I check Maven dependencies for CVE-2024-37309?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x268-qpg6-w9g2",
"modified" : "2024-06-13T19:39:06Z",
"published" : "2024-06-13T19:39:06Z",
"aliases" : [ "CVE-2024-37309" ],
"summary" : "CrateDB has a Client initialized Session-Renegotiation DoS",
"details" : "**Summary** \nClient-Initiated TLS Renegotiation Denial of Service (DoS) Vulnerability at Port 4200\n\n**Details** \nA high-risk vulnerability has been identified where the TLS endpoint (port 4200) permits client-initiated renegotiation. In this scenario, an attacker can exploit this feature to repeatedly request renegotiation of security parameters during an ongoing TLS session. This flaw could lead to excessive consumption of CPU resources, resulting in potential server overload and service disruption. The vulnerability was confirmed using an openssl client where the command 'R' initiates renegotiation, followed by the server confirming with 'RENEGOTIATING'.\n\n**PoC** \n1. Connect to the TLS server on port 4200 using an openssl client.\n2. Initiate a TLS session.\n3. Send the renegotiation command ('R') multiple times.\n4. Observe the server response to confirm renegotiation.\n\n**Impact** \nThis vulnerability allows an attacker to perform a denial of service attack by exhausting server CPU resources through repeated TLS renegotiations. This impacts the availability of services running on the affected server, posing a significant risk to operational stability and security.\n\n\nTLS 1.3 explicitly forbids renegotiation, since it closes a window of opportunity for an attack.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.crate:crate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/crate/crate/security/advisories/GHSA-x268-qpg6-w9g2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-37309"
}, {
"type" : "WEB",
"url" : "https://github.com/crate/crate/commit/1dde03bdf031a20886065195527e368e4a3218b3"
}, {
"type" : "WEB",
"url" : "https://cratedb.com/docs/crate/reference/en/latest/appendices/release-notes/5.7.2.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/crate/crate"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-13T19:39:06Z",
"nvd_published_at" : "2024-06-13T14:15:13Z"
}
}