🔍 CVE-2026-58486

0.0
CVSS Score
UNKNOWN
2026-07-13
2026-07-14 16:42
✅ 완료

🇰🇷 한글 설명

HedgeDoc 1.11.0 미만 버전에서 YAML 프론트매터의 안전하지 않은 처리로 인해 YAML Alias Bomb 취약점이 존재합니다. 공격자가 악의적인 페이로드를 포함한 노트를 작성하면 CPU 자원을 과도하게 소모하여 서비스 거부(DoS) 상태를 유발할 수 있습니다. 이 문제는 프로세스를 재시작해도 데이터베이스에 저장된 노트로 인해 지속될 수 있습니다.

💡 쉬운 설명

특수한 형태의 텍스트를 입력하면 컴퓨터가 이를 처리하다가 과부하가 걸려 멈추게 만드는 공격입니다. 이로 인해 웹사이트가 응답하지 않거나 접속이 불가능해질 수 있습니다.

🇺🇸 원문 (English)

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/<shortid>) and, when placed under the opengraph key, the editor view (/<noteId>). 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.

📍 영향받는 시스템

HedgeDoc version < 1.11.0

⚔️ 공격 벡터

악의적인 YAML 앵커/별칭(Alias)이 포함된 노트를 작성하여 게시하거나 편집하는 방식

🛡️ 대응 방법

HedgeDoc를 최신 버전인 1.11.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 1.11.0 미만인지 확인하십시오.

Shell / Script
npm list -g @hedgedoc/server --depth=0 | grep -E 'hedgedoc'

💻 영향받는 소프트웨어

Node.js