{"answers":{"affected":"2 open source packages ship an affected version, including nodemailer.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-58379 exists.","fix":"Upgrade nodemailer to 6.9.9 or later.","what":"CVE-2024-58379 is a medium-severity denial of service vulnerability in nodemailer, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-58379 and fix it if it is affected.\n\nWhat it is: CVE-2024-58379 is a medium-severity denial of service vulnerability in nodemailer, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-58379 exists.\n\nAffected packages and fixed versions:\n- nodemailer (npm): affected all versions; fixed in 6.9.9\n- nodemailer (npm): affected all versions; fixed in 6.9.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-58379/ (Markdown: https://insights.sbomify.com/CVE-2024-58379/index.md)","id":"CVE-2024-58379","markdown":"https://insights.sbomify.com/CVE-2024-58379/index.md","name":"CVE-2024-58379","record":{"aliases":["DEBIAN-CVE-2024-58379","GHSA-7mr3-4pph-3qpg","GHSA-9h6g-pr28-7cqp","UBUNTU-CVE-2024-58379"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js email library","requires_auth":"none","summary":"Attackers can cause a denial of service in nodemailer by sending crafted emails when the attachDataUrls parameter is enabled.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"nodemailer before 6.9.9 ReDoS via attachDataUrls parameter","id":"CVE-2024-58379","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"PocketMine-MP before 5.11.2 Denial of Service via BookEditPacket","id":"CVE-2024-58380"},"packages":[{"ecosystem":"npm","fixed":["6.9.9"],"introduced":["0"],"last_affected":[],"package":"nodemailer","purl":null,"source":"GHSA-9h6g-pr28-7cqp"},{"ecosystem":"npm","fixed":["6.9.9"],"introduced":["0"],"last_affected":[],"package":"nodemailer","purl":"pkg:npm/nodemailer","source":"GHSA-9h6g-pr28-7cqp"}],"prev":{"headline":"This CVE ID has been rejected as a duplicate.","id":"CVE-2024-58378"},"products":["nodemailer"],"published":"2026-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-31","vendors":["nodemailer"]},"summary":"Attackers can cause a denial of service in nodemailer by sending crafted emails when the attachDataUrls parameter is enabled.","url":"https://insights.sbomify.com/CVE-2024-58379/"}