kritisch9.8
CVE-2024-55660
SiYuan has an SSTI via /api/template/renderSprig
Auswirkung
### 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
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan/kernel | <= 0.0.0-20241210012039-5129ad926a21 | nicht erfasst |
Betroffene Produkte · B3log
| Produkt | Betroffene Versionen |
|---|---|
| Siyuan | Version 3.1.15 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4pjc-pwgq-q9jp
- https://github.com/advisories/GHSA-4pjc-pwgq-q9jp
- https://nvd.nist.gov/vuln/detail/CVE-2024-55660
- https://pkg.go.dev/vuln/GO-2024-3324