Vulnerability · Published Dec 11, 2024 · Assigned by GitHub_M

CVE-2024-55657SiYuan has an arbitrary file read via /api/template/render

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

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGHSA-xx68-37v4-4596
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGO-2024-3327

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