Skip to content
Fencer Vulns
medium 5.3

CVE-2024-58379 json

nodemailer before 6.9.9 ReDoS via attachDataUrls parameter

published 2024-01-31 2 y ago modified 2026-10-27 12 d ago also EUVD-2024-55736 , GHSA-9h6g-pr28-7cqp

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm nodemailer 6.9.9
  • nodemailer nodemailer 6.9.9
  • node-nodemailer Debian 14, Debian 13 6.9.13+~6.4.14-1

debian advisories DEBIAN-CVE-2024-58379

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-58379 updated cvss 5.3

nodemailer: Nodemailer: Denial of Service via specially crafted emails with data URLs or embedded attachments

  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Enterprise Linux 10 grafana 12.4.3-2.el10
    not affected: vulnerable code not present
  • Red Hat Hardened Images grafana12.4 12.4.9-0.4.hum1, grafana13.1 13.1.3-0.3.hum1, grafana13.2 13.2.0-0.1.2.hum1
    not affected: component not present
  • Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CNA 4.0 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
npm nodemailer
<6.9.9
6.9.9

Affected products

  • nodemailer nodemailer

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.