Scribanに攻撃者が作ったテンプレートでメモリを使い果たされる脆弱性
Summary
Scribanの7.6.0より前のバージョンには、テンプレートでメモリを使い果たさせる脆弱性があります。攻撃者は小さなテンプレートを用意するだけで、数GBの文字列を確保させ、メモリを枯渇させられます。対策として、修正版の7.6.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Scribanの7.6.0より前のバージョンには、テンプレートでメモリを使い果たさせる脆弱性があります。攻撃者は小さなテンプレートを用意するだけで、数GBの文字列を確保させ、メモリを枯渇させられます。対策として、修正版の7.6.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| scribanscriban |
< 7.6.0→ 7.6.0 |
7.6.0 |
Original description The description as published by the source.
Scriban before 7.6.0 contains a resource exhaustion vulnerability that allows template authors to bypass LimitToString by rendering a ScriptObject with many members. Attackers can supply a small template whose ScriptObject.ToString concatenates large member values without length tracking, allocating multi-gigabyte strings and causing memory exhaustion.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com