GHSA-mgrc-5q39-2h34HighCVSS 7.5
Nodemailer 3.0.0 before 10.0.13 has a regular expression denial of service in SMTPConnection...
🔗 CVE IDs covered (1)
📋 Description
Nodemailer 3.0.0 before 10.0.13 has a regular expression denial of service in SMTPConnection._actionEHLO, whose four AUTH mechanism detection regexes contain overlapping whitespace sub-patterns that backtrack quadratically. A malicious or man-in-the-middle SMTP server can reply to EHLO with 250-AUTH, a long whitespace run and a non-matching token, blocking the Node.js event loop for tens of seconds to hours before authentication.