{"id":"CVE-2024-55659","published":"2024-12-11T22:53:45Z","modified":"2024-12-12T16:29:46Z","title":"SiYuan has an arbitrary file write in the host via /api/asset/upload","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan is a personal knowledge management system. Prior to version 3.1.16, the `/api/asset/upload` endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored cross-site scripting (via the file write). Version 3.1.16 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00396,"percentile":0.34661,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-fqj6-whhx-47p7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/commit/e70ed57f6e4852e2bd702671aeb8eb3a47a36d71","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.93},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.1.16"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-12-12T16:29:34.872154Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<=0.0.0-20241210012039-5129ad926a21","all versions"],"patched":[],"from":["GHSA-fqj6-whhx-47p7","GO-2024-3326"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-3467","exploited":false,"provenance":"source"}}