Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M

CVE-2024-55659SiYuan has an arbitrary file write in the host via /api/asset/upload

High 8.7

In plain English

A high-severity path traversal in siyuan from siyuan-note. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities).

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.4%top 67.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGHSA-fqj6-whhx-47p7
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGO-2024-3326

Affected products (as reported)

VendorProductVersions
siyuan-note siyuan < 3.1.16

Weakness: CWE-22, CWE-79 · 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

References