CVE-2020-7769
This affects the package nodemailer before 6.4.16. Use of crafted reci ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | nodemailer | 6.4.16 |
| debian 11 | node-nodemailer | 6.4.16-1 |
| debian 12 | node-nodemailer | 6.4.16-1 |
| debian 13 | node-nodemailer | 6.4.16-1 |
| debian 14 | node-nodemailer | 6.4.16-1 |
| echo | node-nodemailer | 6.4.16-1 |
| ubuntu 20.04-ESM | node-nodemailer | no fix listed |
References
- https://github.com/nodemailer/nodemailer/blob/33b62e2ea6bc9215c99a9bb4bfba94e2fb27ebd0/lib/sendmail-transport/index.js#L75
- https://github.com/nodemailer/nodemailer/blob/33b62e2ea6bc9215c99a9bb4bfba94e2fb27ebd0/lib/sendmail-transport/index.js%23L75
- https://github.com/nodemailer/nodemailer/commit/ba31c64c910d884579875c52d57ac45acc47aa54
- https://nvd.nist.gov/vuln/detail/CVE-2020-7769
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1039742
- https://snyk.io/vuln/SNYK-JS-NODEMAILER-1038834
- https://www.cve.org/CVERecord?id=CVE-2020-7769
- https://www.npmjs.com/package/nodemailer