Skip to main content

Inefficient Regular Expression Complexity in nodemailer

Cx64fd7aad-b0aa

  • nodemailer
  • org.webjars.npm:nodemailer
Severity Medium
Score 5.3/10

Summary

The vulnerability ReDos in nodemailer causes a delay in processing when it encounters certain types of image files and attachments. Specifically, when nodemailer attempts to parse image files with the "attachDataUrls" parameter enabled or attachments containing embedded files, it can get stuck, affecting the application's responsiveness. This issue affects nodemailer versions 3.0.0 through 6.9.8.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published