🔍 CVE-2026-100702

5.9
CVSS Score
MEDIUM
2026-09-26
2026-09-30 16:32
✅ 완료

🇰🇷 한글 설명

Nodemailer 10.0.2 미만 버전에서 수신자 필드(to, cc, bcc)의 깊게 중첩된 배열을 제대로 처리하지 못하는 취약점이 발견되었습니다. 공격자가 깊게 중첩된 JSON 수신자 배열을 제공할 경우, 재귀적인 Array.toString() 변환 과정에서 호출 스택이 고갈되어 Node.js 프로세스가 종료될 수 있습니다.

💡 쉬운 설명

이메일 수신자 정보를 아주 복잡하고 깊게 꼬아놓은 데이터를 보내면, 프로그램이 이를 처리하다가 과부하가 걸려 멈춰버리는 문제입니다. 이를 통해 서비스가 강제로 종료되는 상황을 만들 수 있습니다.

🇺🇸 원문 (English)

Nodemailer before 10.0.2 fails to properly flatten deeply nested arrays in recipient fields such as to, cc, and bcc, allowing attackers to cause stack exhaustion. Attackers can supply a deeply nested JSON recipient array that triggers recursive Array.toString() conversion, exhausting the call stack and terminating the Node.js process.

📍 영향받는 시스템

Nodemailer versions before 10.0.2

⚔️ 공격 벡터

악의적으로 조작된 깊은 중첩 구조의 JSON 수신자 배열을 이메일 전송 요청에 포함하여 전송

🛡️ 대응 방법

Nodemailer를 10.0.2 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 10.0.2 미만이면 취약한 상태이며, 10.0.2 이상이면 안전합니다.

Shell / Script
npm list nodemailer | grep -E 'nodemailer@'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js