CVE-2021-23400
6.3medium
HTTP Header Injection
- Severity
- 6.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.39% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-hwqf-gcqm-7353
Description
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodemailer | from unspecified before 6.6.1 | CVE List |
| nodemailer (npm) | before 6.6.1 | GitHub Advisory Database |
| nodemailer nodemailer | before 6.6.1 | NVD |
All scores
| snyk | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.
NVD (es)
El paquete nodemailer versiones anteriores a 6.6.1, es vulnerable a una inyección de encabezados HTTP si una entrada de usuario no saneada que puede contener newlines y carriage returns dentro de un objeto de dirección
References
| https://snyk.io/vuln/SNYK-JS-NODEMAILER-1296415 | exploit, patch, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737 | exploit, patch, third-party-advisory, web | |
| https://github.com/nodemailer/nodemailer/issues/1289 | third-party-advisory, web | |
| https://github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9f | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23400 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23400 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hwqf-gcqm-7353 changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2021-23400 changed 2026-06-17 | Public domain |