Command Injection (nodemailer)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.30 % · percentile 83 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- snyk
- NVD status
- Modified
Description
This affects the package nodemailer before 6.4.16. Use of crafted recipient email addresses may result in arbitrary command flag injection in sendmail transport for sending mails.
Weaknesses (CWE)
- CWE-88 — Improper Neutralization of Argument Delimiters in a Command
References
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-1038834
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1039742
- https://github.com/nodemailer/nodemailer/blob/33b62e2ea6bc9215c99a9bb4bfba94e2fb27ebd0/lib/sendmail-transport/index.js%23L75
- https://github.com/nodemailer/nodemailer/commit/ba31c64c910d884579875c52d57ac45acc47aa54
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H/E:P/RL:U/RC:C | snyk |
| CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | NVD · report@snyk.io (Secondary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-48ww-j4fc-435p — Command injection in nodemailer
European references
- ENISA EUVD · EUVD-2021-0932
- GCVE · GCVE-0-2020-7769
Affected configurations (NVD CPE)
cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:node.js:*:*< 6.4.16
Affected products
| Product | Versions |
|---|---|
| nodemailer | affected unspecified < 6.4.16 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |