siyuan-note/siyuan · Security
SiYuan has an arbitrary file read via /api/template/render
- GHSA ID
- GHSA-xx68-37v4-4596
- CVE ID
- CVE-2024-55657
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description
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
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xx68-37v4-4596 ↗
- https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-55657 ↗
- https://pkg.go.dev/vuln/GO-2024-3327 ↗
- https://github.com/advisories/GHSA-xx68-37v4-4596 ↗