Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M

CVE-2024-55658SiYuan has an arbitrary file read and path traversal via /api/export/exportResources

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.6% (higher than 49% of all known vulnerabilities).

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.6%top 50.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, SiYuan'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. Version 3.1.16 contains a patch for the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGHSA-25w9-wqfq-gwqx
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGO-2024-3323

Affected products (as reported)

VendorProductVersions
siyuan-note siyuan < 3.1.16

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

References