THREAT OPS › Threat News › [GHSA] GHSA-prgh-xp8r-p3m5 (high) — Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser)
[GHSA] GHSA-prgh-xp8r-p3m5 (high) — Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser)
GHSA-prgh-xp8r-p3m5 Severity: high CVE: None
Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser)
### Summary
`nodemailer/lib/addressparser` parses one shape of address in O(n^2) time. A single ~640 KB address value blocks the Node.js event loop for roughly 7 seconds. And it is reachable without auth: mailparser feeds inbound email headers
Indicators of compromise
- a@b.comemail
Original source: https://github.com/advisories/GHSA-prgh-xp8r-p3m5