CVE Catalog

GHSA-4g23-2xm8-66gc

Medium
Published: —Translated: NVD NIST

Summary

Nodemailer's SMTP client response parser reassembles multiline server replies by appending each continuation line onto a single response-queue entry and re-testing whether it is still a partial reply on every line. The partial-response test performs string operations per line, which can lead to inefficient processing.

Risk Assessment

A malicious SMTP server could send many continuation lines, causing excessive CPU usage and delays (potential ReDoS). This may disrupt the application's email communication.

Recommendation

Update Nodemailer to a version containing the SMTP response parser fix. Consider limiting the number of continuation lines accepted from the server.

Other vulnerabilities in Nodemailer

See all
Original NVD description (English source)

## Summary The SMTP client response parser reassembles multiline server replies by appending each continuation line onto a single response-queue entry and re-testing whether that entry is still a partial (continuation) reply on every line. The partial-response test runs `str.slice(str.lastIndexOf('

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