What’s Vulnerable › Vulnerabilities

CVE-2024-58379: nodemailer before 6.9.9 ReDoS via attachDataUrls parameter

Description

nodemailer before 6.9.9 contains a regular expression denial of service vulnerability in email parsing when attachDataUrls parameter is set or processing embedded file attachments. Attackers can send specially crafted emails with malicious data URLs or embedded attachments to cause the event loop to hang and deny service.

Affected products

How to fix

Upgrade to a fixed version: nodemailer 6.9.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-58379 or the next vulnerability affects your stack