CVE-2024-37309 Client initialized Session-Renegotiation DoS
An attacker can cause a denial of service in CrateDB by repeatedly triggering TLS renegotiations, exhausting server CPU resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37309?
CVE-2024-37309 is a medium-severity denial of service vulnerability in crate, published on 13 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CrateDB is a distributed SQL database. A high-risk vulnerability has been identified in versions prior to 5.7.2 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`. This 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. TLS 1.3 explicitly forbids renegotiation, since it closes a window of opportunity for an attack. Version 5.7.2 of CrateDB contains the fix for the issue.
Weakness: CWE-770
Which versions are affected by CVE-2024-37309?
2 open source packages ship an affected version, including io.crate:crate. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.crate:crate Maven | All versions | 5.7.2 |
io.crate:crate Maven | All versions | 5.7.2 |
Products include Cratedb Cratedb.
How do I fix CVE-2024-37309?
Upgrade io.crate:crate to 5.7.2 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-37309 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-37309 exists.
Other vulnerabilities in crate
Sources
Also known as GHSA-x268-qpg6-w9g2.