Advisory

GHSA-xx68-37v4-4596

Also known as: CVE-2024-55657, GO-2024-3327

Summary

SiYuan has an arbitrary file read via /api/template/render

Details

Summary

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.

Impact

Arbitrary file read on the host

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