high7.5
CVE-2024-55657
SiYuan has an arbitrary file read via /api/template/render
Impact
### Summary An arbitrary file read vulnerability exists in Siyuan's /api/template/render endpoint. The absence of proper validation on the path parameter allows attackers to access sensitive files on the host system. ### Impact Arbitrary file read on the host
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan/kernel | <= 0.0.0-20241210012039-5129ad926a21 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| B3log | Siyuan | Version 3.1.15 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596
- https://github.com/advisories/GHSA-xx68-37v4-4596
- https://nvd.nist.gov/vuln/detail/CVE-2024-55657
- https://pkg.go.dev/vuln/GO-2024-3327