Skip to content

CrateDB has a Client initialized Session-Renegotiation DoS

Moderate severity GitHub Reviewed Published Jun 13, 2024 in crate/crate • Updated Jun 24, 2024

Package

maven io.crate:crate (Maven)

Affected versions

< 5.7.2

Patched versions

5.7.2

Description

Summary
Client-Initiated TLS Renegotiation Denial of Service (DoS) Vulnerability at Port 4200

Details
A 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'.

PoC

  1. Connect to the TLS server on port 4200 using an openssl client.
  2. Initiate a TLS session.
  3. Send the renegotiation command ('R') multiple times.
  4. Observe the server response to confirm renegotiation.

Impact
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.

References

@seut seut published to crate/crate Jun 13, 2024
Published by the National Vulnerability Database Jun 13, 2024
Published to the GitHub Advisory Database Jun 13, 2024
Reviewed Jun 13, 2024
Last updated Jun 24, 2024

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weaknesses

CVE ID

CVE-2024-37309

GHSA ID

GHSA-x268-qpg6-w9g2

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.