Scribanに大量のJSON入力でサービス停止となる脆弱性
Summary
Scribanの7.6.0より前のバージョンには、object.from_jsonに大量のJSONを与えるとループ上限を回避され、CPUとメモリを使い果たされる脆弱性があります。CVSS v3.1のスコアは7.5、CVSS v4.0のスコアは8.7です。修正版の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より前のバージョンには、object.from_jsonに大量のJSONを与えるとループ上限を回避され、CPUとメモリを使い果たされる脆弱性があります。CVSS v3.1のスコアは7.5、CVSS v4.0のスコアは8.7です。修正版の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 attackers to bypass LoopLimit by supplying large JSON input to object.from_json. Attackers can pass a flat JSON array or object with hundreds of thousands of elements, which JsonElementExtensions materializes without loop checks, exhausting CPU and memory.
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