🔍 CVE-2026-63376

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

🇰🇷 한글 설명

toml-node 4.1.2 미만 버전의 toml.parse() 함수에서 프로토타입 오염(Prototype Pollution) 취약점이 발견되었습니다. 공격자가 특수하게 조작된 테이블 경로를 사용하여 Object.prototype에 임의의 속성을 주입할 수 있으며, 이는 서비스 거부(DoS), 권한 우회 또는 적절한 가젯이 존재할 경우 원격 코드 실행(RCE)으로 이어질 수 있습니다.

💡 쉬운 설명

TOML 파일을 읽어들이는 과정에서 프로그램의 기본 설계도를 조작할 수 있는 보안 약점이 있습니다. 이를 통해 해커가 프로그램의 동작을 방해하거나, 권한을 가로채거나, 컴퓨터를 마음대로 조종할 위험이 있습니다.

🇺🇸 원문 (English)

toml-node is a TOML parser for Node.js and the browser. Prior to 4.1.2, toml.parse() in lib/compiler.js can be tricked by a table path such as a.b.y.__proto__.__proto__, allowing traversal from a scalar value into Number.prototype and Object.prototype. The currentPath tracking value uses both arrays and strings, so valueAssignments records a comma-joined path such as a,b.y while deepRef checks the dot-joined path a.b.y, allowing the duplicate-key guard to miss and attacker-controlled keys to be written to Object.prototype. A table-array prefix-clearing path in addTableArray can also erase guard state before the same __proto__ traversal. Injected properties become visible throughout the Node.js process and can cause denial of service, logic or authorization bypass, or code execution when an application contains a suitable gadget. This issue is fixed in version 4.1.2.

📍 영향받는 시스템

toml-node 버전 4.1.2 미만

⚔️ 공격 벡터

조작된 TOML 파일 내의 __proto__ 경로를 이용한 프로토타입 오염 공격

🛡️ 대응 방법

toml-node 라이브러리를 4.1.2 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 4.1.2 미만인 경우 취약한 상태입니다.

Shell / Script
npm list toml-node | grep toml-node

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js