{"schema_version":"1.9.0","id":"GHSA-25w9-wqfq-gwqx","published":"2024-12-11T18:44:50Z","modified":"2025-06-05T21:59:17Z","aliases":["CVE-2024-55658","GO-2024-3323"],"summary":"SiYuan has an arbitrary file read and path traversal via /api/export/exportResources","details":"### Summary\n\nSiyuan's /api/export/exportResources endpoint is vulnerable to arbitary file read via path traversal. It is possible to manipulate the paths parameter to access and download arbitrary files from the host system by traversing the workspace directory structure.\n\n### Impact\nArbitrary File Read","affected":[{"package":{"name":"github.com/siyuan-note/siyuan/kernel","ecosystem":"Go","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.0-20241210012039-5129ad926a21"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-25w9-wqfq-gwqx/GHSA-25w9-wqfq-gwqx.json"}}],"references":[{"type":"WEB","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-25w9-wqfq-gwqx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55658"},{"type":"WEB","url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71"},{"type":"PACKAGE","url":"https://github.com/siyuan-note/siyuan"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3323"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2024-12-11T18:44:50Z","nvd_published_at":"2024-12-12T02:15:32Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}