CyberRota Analysis
AI-GeneratedScriban versions prior to 7.0.0, specifically those up to 6.6.0, are vulnerable to a stack overflow due to improper handling of deeply nested array initializers during parsing. This flaw allows an attacker to exploit the Template.Parse function with untrusted input, leading to an uncatchable StackOverflowException that crashes the application. Organizations using affected Scriban versions should prioritize patching 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 versions <= 6.6.0) contains a stack overflow vulnerability in nested array initializer parsing. Deeply nested array initializers recurse through a path (ParseArrayInitializer → ParseExpression → ParseArrayInitializer) that is not covered by the ExpressionDepthLimit counter added in the fix for GHSA-wgh7-7m3c-fx25. An attacker who can supply untrusted input to Template.Parse can trigger an uncatchable StackOverflowException that immediately terminates the process, even with the default ExpressionDepthLimit enabled.