🔍 CVE-2025-55131

7.1
CVSS Score
HIGH
2026-01-20
2026-07-15 02:17
✅ 완료

🇰🇷 한글 설명

Node.js의 vm 모듈에서 타임아웃 옵션 사용 시 버퍼 할당 로직 결함으로 인해 초기화되지 않은 메모리가 노출될 수 있습니다. Buffer.alloc, Uint8Array 등의 작업 중 할당이 중단되면 이전 데이터가 남아있어 토큰, 비밀번호 같은 민감 정보가 유출되거나 데이터 손상이 발생할 수 있습니다. 신뢰할 수 없는 입력이 워크로드에 영향을 미칠 때 원격 공격으로도 악용 가능합니다.

💡 쉬운 설명

Node.js에서 시간 제한을 사용할 때 메모리 청소 과정이 완전하지 않아 이전에 저장된 암호나 토큰 같은 비밀정보가 노출될 수 있습니다. 공격자가 정확한 타이밍으로 이를 악용하면 민감한 정보를 읽을 수 있습니다.

🇺🇸 원문 (English)

A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the `vm` module with the timeout option. Under specific timing conditions, buffers allocated with `Buffer.alloc` and other `TypedArray` instances like `Uint8Array` may contain leftover data from previous operations, allowing in-process secrets like tokens or passwords to leak or causing data corruption. While exploitation typically requires precise timing or in-process code execution, it can become remotely exploitable when untrusted input influences workload and timeouts, leading to potential confidentiality and integrity impact.

📍 영향받는 시스템

Node.js (CVE-2025-55131 영향 버전)

⚔️ 공격 벡터

vm 모듈의 타임아웃 옵션을 사용하는 코드에서 정확한 타이밍으로 버퍼 할당 중단을 유도하여 초기화되지 않은 메모리 접근

🛡️ 대응 방법

Node.js를 최신 패치가 적용된 버전으로 업데이트

🔧 검증 코드

Node.js 버전이 표시되면 Node.js가 설치된 상태이며, CVE-2025-55131 패치가 포함된 버전인지 Node.js 보안 공지에서 확인해야 합니다.

Shell / Script
node --version | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+' || echo '설치 안됨'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js