🔍 CVE-2026-114144

7.5
CVSS Score
HIGH
2026-10-21
2026-10-30 15:16
✅ 완료

🇰🇷 한글 설명

toml-node 5.0.1 미만 버전에서 toml.parse() 함수가 매우 긴 정수 문자열을 BigInt()로 변환할 때 과도한 CPU 자원을 소모하는 취약점이 발견되었습니다. 이로 인해 Node.js 이벤트 루프가 동기적으로 차단되어 서비스 거부(DoS) 공격이 가능해집니다. 해당 문제는 5.0.1 버전에서 수정되었습니다.

💡 쉬운 설명

공격자가 아주 긴 숫자가 포함된 파일을 보내면 컴퓨터가 이를 처리하느라 모든 작업을 멈추게 만드는 공격입니다. 이로 인해 웹사이트나 서비스가 응답하지 않는 상태가 될 수 있습니다.

🇺🇸 원문 (English)

toml-node is a TOML parser for Node.js and the browser. Prior to 5.0.1, toml.parse() passes unbounded hexadecimal, octal, binary, and decimal digit sequences from lib/parser.js to BigInt() before reduceInteger() in lib/compiler.js checks whether the resulting value fits the TOML 64-bit integer range. Converting a sufficiently long integer string consumes super-linear CPU time and synchronously blocks the Node.js event loop, allowing one attacker-supplied TOML document to deny service to concurrent work in the process. The later range check cannot prevent the conversion cost because it executes after BigInt(). This issue is fixed in version 5.0.1.

📍 영향받는 시스템

toml-node versions prior to 5.0.1

⚔️ 공격 벡터

공격자가 조작된 매우 긴 정수 시퀀스를 포함한 TOML 문서를 전송하여 CPU 자원을 고갈시킴

🛡️ 대응 방법

toml-node 라이브러리를 5.0.1 버전 이상으로 업데이트

🔧 검증 코드

출력된 결과에서 toml-node의 버전이 5.0.1 미만인지 확인

Shell / Script
npm list toml-node

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Node.js