CyberRota Analysis
AI-GeneratedTDengine versions 3.4.1.6 and earlier contain a vulnerability in the trimString() function, which inadequately checks for buffer size before processing SQL escape sequences, leading to a potential one-byte out-of-bounds write. This flaw can result in denial of service and may allow for remote code execution, posing significant risks to systems utilizing this database. Organizations using affected versions should prioritize upgrading to version 3.4.1.14 to mitigate these security risks.
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
TDengine is an open source, time-series database optimized for Internet of Things devices. In 3.4.1.6 and earlier, source/libs/parser/src/parUtil.c trimString() checks space for only one byte before processing SQL string escape sequences \%, \_, or \x, allowing a one-byte out-of-bounds write to the stack buffer tmpTokenBuf that can cause denial of service and potentially remote code execution. This issue is fixed in version 3.4.1.14.