Description (CNA)
SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map in the /api/icon/getDynamicIcon content parameter, allowing resource exhaustion. A publish reader, or anyone when publish auth is disabled, can use uncapped functions like until to OOM-kill the kernel with one request.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 3.1.12 before 3.8.6; unaffected 3.8.6 |
CWE
CWE-770
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-cxwr-r7cq-xw52
- https://www.vulncheck.com/advisories/siyuan-3.1.12-before-3.8.6-denial-of-service-via-getdynamicicon-template
ADP enrichment
No English description supplied.