Nodemailer 9.1.0 through 10.0.4 Denial of Service via Quadratic Address Parsing
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.7epss 0.5%
exploitation probability
0.5%top 60% of all CVEs
observed exploitation
nono source reports it
Nodemailer versions 9.1.0 through 10.0.4 contain a quadratic time complexity vulnerability in the addressparser component when parsing email addresses with RFC 5322 comments. Attackers can craft malicious email headers with comment-separated atoms to consume excessive CPU and block the Node.js event loop for several seconds, causing denial of service.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
nodemailer · nodemailerReferences
https://github.com/nodemailer/nodemailerhttps://github.com/nodemailer/nodemailer/blob/v10.0.4/src/addressparser/index.ts#L251https://github.com/nodemailer/nodemailer/commit/c07f17518d25aca8ab2ad66968dcbca538c24b89https://github.com/nodemailer/nodemailer/releases/tag/v10.0.5https://github.com/nodemailer/nodemailer/security/advisories/GHSA-prgh-xp8r-p3m5https://www.vulncheck.com/advisories/nodemailer-9.1.0-through-10.0.4-denial-of-service-via-quadratic-address-parsing