CVE-2026-58486 漏洞深度分析

漏洞概述

CVE 编号: CVE-2026-58486
CVSS 评分: 8.3(HIGH)
CVSS 向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE 分类: CWE-400,CWE-409
漏洞状态: Received
发布时间: 2026-07-13T23:16:47.233
最后更新: 2026-07-14T13:19:00.050

漏洞描述

HedgeDoc is an open source, real-time, collaborative, markdown notes application. Prior to version 1.11.0, HedgeDoc was vulnerable to a YAML alias bomb due to unsafe processing of the note frontmatter. HedgeDoc parsed frontmatter with js-yaml.load (js-yaml v3) via @hedgedoc/meta-marked, which resolved YAML anchor aliases. A compact malicious payload could therefore expand into a huge object structure, consuming excessive CPU. This expansion ran on every request to the publish view (/s/) and, when placed under the opengraph key, the editor view (/). A ten-level alias bomb could block the single Node.js event loop for roughly 235 seconds per request, causing concurrent requests to hang or drop and rendering the instance unavailable (DoS). Because the note was stored in the database, the impact survived process restarts until the note was removed. toobusy-js did not reliably mitigate the worst cases, as the event loop was saturated before the middleware could respond. This issue was fixed in version 1.11.0.

影响分析

此漏洞的具体影响取决于实际利用场景。"

修复建议

  1. 及时关注厂商发布的安全更新和补丁
  2. 升级受影响组件到最新版本
  3. 如无法立即升级,参考厂商提供的临时缓解措施
  4. 加强网络访问控制和监控

参考链接

  1. https://github.com/hedgedoc/hedgedoc/commit/c489497e451887bfe400434c5a010940051e9890
  2. https://github.com/hedgedoc/hedgedoc/security/advisories/GHSA-qj78-mjch-wwrv