CVE-2024-55660
EPSS 0.73%SiYuan has an SSTI via /api/template/renderSprig
發布日:2024/12/11修改日:2024/12/12
描述
### Summary Siyuan's /api/template/renderSprig endpoint is vulnerable to Server-Side Template Injection (SSTI) through the Sprig template engine. Although the engine has limitations, it allows attackers to access environment variables ### Impact Information leakage
受影響套件(2)
- Go/github.com/siyuan-note/siyuan/kernelfrom 0, <= 0.0.0-20241210012039-5129ad926a21
- Go/github.com/siyuan-note/siyuan/kernelfrom 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-55660
- PATCHhttps://github.com/siyuan-note/siyuan
- WEBhttps://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- WEBhttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp
- WEBhttps://pkg.go.dev/vuln/GO-2024-3324