CVE-2024-55660 – github.com/siyuan-note/siyuan/kernel
Package
Manager: go
Name: github.com/siyuan-note/siyuan/kernel
Vulnerable Version: >=0 <=0.0.0-20241210012039-5129ad926a21
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00443 pctl0.6246
Details
SiYuan has an SSTI via /api/template/renderSprig ### Summary Siyuan's /api/template/renderSprig endpoint is vulnerable to Server-Side Template Injection (SSTI) through the Sprig template engine. Although the engine has limitations, it allows attackers to access environment variables ### Impact Information leakage
Metadata
Created: 2024-12-11T18:44:47Z
Modified: 2024-12-12T19:20:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-4pjc-pwgq-q9jp/GHSA-4pjc-pwgq-q9jp.json
CWE IDs: ["CWE-1336"]
Alternative ID: GHSA-4pjc-pwgq-q9jp
Finding: F422
Auto approve: 1