CyberRota Analysis
AI-GeneratedDragonfly versions prior to 1.40.0 are vulnerable due to improper handling of dimensions in the CMS.INITBYDIM and CMS.INITBYPROB functions, leading to potential heap memory corruption and server crashes. This vulnerability allows unauthenticated remote clients to exploit the issue, resulting in data disclosure or denial of service. Organizations using affected versions should prioritize upgrading to version 1.40.0 to mitigate these 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
Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40.0, CMS.INITBYDIM and CMS.INITBYPROB accept dimensions whose width times depth times sizeof(int64_t) overflows in src/core/cms.cc, allocating an undersized counter buffer while CMS.INCRBY and CMS.QUERY use the unbounded dimensions, which allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server. This issue is fixed in version 1.40.0.