GHSA-xx68-37v4-4596

Suggest an improvement
Source
https://github.com/advisories/GHSA-xx68-37v4-4596
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-xx68-37v4-4596/GHSA-xx68-37v4-4596.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xx68-37v4-4596
Aliases
Published
2024-12-11T18:44:52Z
Modified
2024-12-12T19:18:58Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2024-12-12T02:15:32Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-11T18:44:52Z"
}
References

Affected packages

Go / github.com/siyuan-note/siyuan/kernel

Package

Name
github.com/siyuan-note/siyuan/kernel
View open source insights on deps.dev
Purl
pkg:golang/github.com/siyuan-note/siyuan/kernel

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.0-20241210012039-5129ad926a21