cve.bz

CVE-2024-58379 nodemailer nodemailer

6.9 mediumEPSS 0.4%Fix available

Medium (6.9) in nodemailer nodemailer. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in nodemailer 6.9.9.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-58379 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-58379?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-58379?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-58379 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodemailerbefore 6.9.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9h6g-pr28-7cqpnpmnodemailer<6.9.96.9.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-nodemailerno fix listedDEBIAN-CVE-2024-58379
Debian13, 14node-nodemailer6.9.13+~6.4.14-1DEBIAN-CVE-2024-58379
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSnode-nodemailerno fix listedUBUNTU-CVE-2024-58379

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in Nodemailer, a dependency in several Red Hat products, allows a remote attacker to trigger a Regular Expression Denial of Service (ReDoS). By sending specially crafted emails containing malicious data URLs or embedded attachments, an attacker can cause the affected application's event loop to hang, leading to a temporary denial of service. This impact is considered Moderate as it requires specific input and results in service disruption rather than data compromise or arbitrary code execution. Red Hat products ship with newer, unaffected versions of Nodemailer and are not impacted.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Hardened Imagesgrafana12.4Not affected
Red Hat Hardened Imagesgrafana13.1Not affected
Red Hat Hardened Imagesgrafana13.2Not affected
Self-service automation portal 2ansible-automation-platform/bootc-automation-portal-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-58379.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON