CVE Catalog

GHSA-6vj9-mwq6-2f5v

Medium
Published: —Translated: NVD NIST

Summary

Nodemailer's process-global DNS cache is keyed only by `host`, but each cache entry also stores the caller-specific TLS `servername`. When two direct SMTPS transports use the same DNS host with different `tls.servername` values, the first transport's server name is returned to the second.

Risk Assessment

This can lead to connecting to the wrong server (e.g., instead of the intended server, the connection goes to a different one), potentially resulting in data leakage or communication integrity issues.

Recommendation

Include `servername` in the DNS cache key or avoid sharing the global cache between transports with different TLS settings.

Other vulnerabilities in Nodemailer

See all
Original NVD description (English source)

### Summary Nodemailer's process-global DNS cache is keyed only by `host`, but each cache entry also stores the caller-specific TLS `servername`. When two direct SMTPS transports use the same DNS host with different `tls.servername` values, the first transport's server name is returned to the secon

Vulnerability data from NVD (NIST) · CISA KEV · EPSS