🔍 CVE-2026-77465

7.5
CVSS Score
HIGH
2026-09-03
2026-09-09 21:09
✅ 완료

🇰🇷 한글 설명

toml-node 4.2.0 미만 버전의 toml.parse() 함수는 중첩된 배열이나 인라인 테이블을 처리할 때 재귀 호출 깊이 제한이 없습니다. 공격자가 조작된 TOML 문서를 전송하면 Node.js 호출 스택이 고갈되어 프로세스가 종료되는 서비스 거부(DoS)가 발생할 수 있습니다.

💡 쉬운 설명

TOML이라는 설정 파일을 읽는 프로그램에 너무 깊게 겹쳐진 데이터를 넣으면 프로그램이 과부하로 멈춰버리는 문제입니다. 이를 통해 공격자는 웹 서버를 강제로 종료시킬 수 있습니다.

🇺🇸 원문 (English)

toml-node is a TOML parser for Node.js and the browser. Prior to 4.2.0, toml.parse() uses a Peggy 5.1.0 generated recursive-descent parser in lib/parser.js whose peg$parsevalue, peg$parsearray, and peg$parseinline_table_entry functions recurse through nested arrays and inline tables without a depth limit. A remote unauthenticated application parsing an attacker-controlled TOML document containing a few thousand nested arrays or inline tables can exhaust the Node.js call stack, raise an unexpected RangeError rather than the parser's SyntaxError, and terminate an unprotected request worker or process. The corresponding grammar source is src/toml.pegjs, where the generated parser must be bounded. This issue is fixed in version 4.2.0.

📍 영향받는 시스템

toml-node versions prior to 4.2.0

⚔️ 공격 벡터

공격자가 조작된 깊은 중첩 구조의 TOML 문서를 원격으로 전송하여 서버의 호출 스택을 고갈시킴

🛡️ 대응 방법

toml-node를 4.2.0 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 결과에서 toml-node의 버전이 4.2.0 미만인지 확인하십시오.

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