🔍 CVE-2026-1245

6.5
CVSS Score
MEDIUM
2026-01-20
2026-06-17 10:15
✅ 완료

🇰🇷 한글 설명

binary-parser 라이브러리에서 코드 삽입 취약점이 발견되어 Node.js 프로세스에서任意의 JavaScript 코드를 실행할 수 있습니다.

💡 쉬운 설명

binary-parser 라이브러리 버전 2.3.0 이전의 버전에서 발생하는 취약점으로, 공격자는 임의의 JavaScript 코드를 실행할 수 있습니다. 이는 라이브러리가 사용자 입력 값을 제대로 검증하지 않아 발생합니다.

🇺🇸 원문 (English)

A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process.

📍 영향받는 시스템

Node.js에서 사용되는 binary-parser 라이브러리 버전 2.3.0 이전

⚔️ 공격 벡터

사용자 입력 값을 제대로 검증하지 않는 라이브러리를 공격하여 임의의 JavaScript 코드를 실행

🛡️ 대응 방법

binary-parser 라이브러리를 버전 2.3.0 이상으로 업데이트합니다.

🔧 검증 코드

Python이 설치된 로컬 시스템에서 실행할 수 있습니다. binary-parser 라이브러리가 설치되어 있고 버전이 2.3.0 미만이면 취약, 그렇지 않으면 양호한 결과가 출력됩니다.

Shell / Script
python -c "import pkg_resources; print('binary-parser' in [d.project_name for d in pkg_resources.working_set] and pkg_resources.get_distribution('binary-parser').version < '2.3.0')" && echo {"result": "취약", "reason": "binary-parser 버전이 2.3.0 미만"} || echo {"result": "양호", "reason": "binary-parser 버전이 2.3.0 이상"}

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js