CVE-2021-23400 json
HTTP Header Injection
published 2021-06-29 5 y ago modified 2026-06-17 4 mo ago also GHSA-hwqf-gcqm-7353 , EUVD-2021-2533
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm nodemailer 6.6.1
- n/a nodemailer 6.6.1
- node-nodemailer Debian 14, Debian 13, Debian 12 6.4.17-3
debian advisories DEBIAN-CVE-2021-23400
Exploit prediction
1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P |
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nodemailer | <6.6.1 |
6.6.1 |
Affected products
- n/a nodemailer
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9f
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-NODEMAILER-1296415
web, exploit, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737
web, exploit, patch, third-party-advisory
-
github.com
/nodemailer/nodemailer/issues/1289
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23400
advisory
Sources
- CVE List CVE-2021-23400
- GitHub Advisory GHSA-hwqf-gcqm-7353
- NVD CVE-2021-23400
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.