Description (CNA)
Scriban before 7.0.0 contains an uncontrolled recursion vulnerability in the object.to_json builtin function that lacks depth limits and circular reference detection. Attackers can craft templates with self-referencing objects to trigger unbounded recursion, causing a StackOverflowException that fatally terminates the hosting .NET process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| scriban / scriban | affected 0 before 7.0.0; unaffected 7.0.0 |
CWE
CWE-674
References
- https://github.com/scriban/scriban/security/advisories/GHSA-xcx6-vp38-8hr5
- https://www.vulncheck.com/advisories/scriban-before-uncontrolled-recursion-via-object-to-json
ADP enrichment
No English description supplied.