CyberRota Analysis
AI-GeneratedVersions of SurrealDB prior to 2.2.2 are susceptible to a memory exhaustion vulnerability in the string::replace function, which does not limit string length when processing regex patterns. An authenticated attacker can exploit this flaw by sending a specially crafted query, leading to server memory exhaustion and resulting in a denial of service. Organizations using affected versions should prioritize upgrading to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded string allocations, causing denial of service.