Advisory

GHSA-25w9-wqfq-gwqx

Also known as: CVE-2024-55658, GO-2024-3323

Summary

SiYuan has an arbitrary file read and path traversal via /api/export/exportResources

Details

Summary

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.

Impact
Arbitrary File Read

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-12-11 18:44 UTC
Modified
2025-06-05 21:59 UTC

Affected packages and fixes

github.com/siyuan-note/siyuan/kernel

Go · All systems

Affected

  • introduced 0, last affected 0.0.0-20241210012039-5129ad926a21 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences