🔍 CVE-2026-100701

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

🇰🇷 한글 설명

Nodemailer 5.0.0부터 10.0.1 버전에서 DNS 캐시 키가 호스트 이름으로만 구성되어 발생하는 보안 취약점입니다. 동일한 호스트에 대해 서로 다른 TLS servername을 사용하는 경우, 캐시된 잘못된 SNI 값이 사용되어 공격자의 TLS 가상 호스트로 연결될 수 있으며 이 과정에서 SMTP 자격 증명이 노출될 수 있습니다.

💡 쉬운 설명

이메일 전송 라이브러리가 주소를 기억하는 과정에서 실수로 다른 사용자의 정보를 섞어 쓰는 문제입니다. 공격자가 미리 가짜 주소를 등록해두면, 사용자가 실제 서버에 접속하려 할 때 공격자의 서버로 연결되어 비밀번호를 탈취당할 수 있습니다.

🇺🇸 원문 (English)

Nodemailer versions 5.0.0 through 10.0.1 use a process-global DNS cache that is keyed only by the DNS host, while each cache entry also stores the caller-specific TLS servername. When two direct TLS/SMTPS transports (secure: true) resolve the same non-IP host with different tls.servername values, the first transport's servername is returned on the cache hit and overwrites the second transport's explicitly configured value, so Nodemailer sends the wrong SNI value and validates the peer certificate against the wrong identity. In multi-tenant services or SNI-routed SMTP gateways, an attacker who can prime the cache can cause a victim transport to connect to the attacker's TLS virtual host and accept the attacker's certificate even with rejectUnauthorized: true, disclosing the victim's SMTP credentials. Fixed in 10.0.2.

📍 영향받는 시스템

Nodemailer versions 5.0.0 through 10.0.1

⚔️ 공격 벡터

공격자가 DNS 캐시를 오염시켜(Cache Priming) 피해자의 SMTP 연결 시 잘못된 SNI 값을 사용하게 유도함

🛡️ 대응 방법

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

🔧 검증 코드

출력된 버전이 5.0.0 이상 10.0.1 이하인지 확인하십시오.

Shell / Script
npm list nodemailer | grep nodemailer

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Active Directory Certificate Services