CyberRota Analysis
AI-GeneratedScriban versions prior to 7.0.0 are vulnerable due to inadequate enforcement of the LoopLimit constraint, which only applies to script loop statements and not to resource-intensive operations within built-in functions. This oversight can lead to significant CPU and memory consumption, potentially resulting in denial of service when processing maliciously crafted templates. Organizations using Scriban for rendering user-controlled templates should prioritize this vulnerability to mitigate the risk of service disruption.
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
Scriban before 7.0.0 (affected <= 6.6.0) applies its LoopLimit constraint only to script loop statements and not to expensive iteration performed inside built-in operators and functions. As a result, a single expression such as {{ 1..1000000 | array.size }} — or a memory-amplification expression such as {{ 'A' * 200000000 }} — can force large CPU or memory consumption even when LoopLimit is configured to a very small value, resulting in denial of service. Applications that render attacker-controlled templates and rely on LoopLimit for safe execution are affected.