nodemailer is vulnerable to Denial of Service (DoS)
80
High Risk
Nodemailer's MimeNode._parseAddresses flattened only the outermost layer of recipient arrays in to, cc, and bcc, then handed any still-nested array to addressparser, which stringifies it. The native array-to-string conversion recurses once per nesting level, so a deeply nested or self-referential recipient value exhausts the V8 call stack and throws RangeError: Maximum call stack size exceeded before the maxRecipients limit applies. The uncaught throw escaped sendMail and could terminate the Node.js process. The fix walks arrays iteratively with a cycle guard and routes compile-time errors to the callback.
You are affected if you are using a version that falls within the vulnerable range and recipient fields can contain externally influenced nested array values.
nodemailer is vulnerable to Denial of Service (DoS) in versions 2.7.2 - 10.0.1.
Upgrade the nodemailer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.