CVE-2021-23400: nodemailer Injection
CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2021-23400DEBIAN-CVE-2021-23400GHSA-hwqf-gcqm-7353
Published 29-06-2021Last modified 16-09-2024
Vulnerability summary
CVE-2021-23400 is a high (CVSS 8.8) Injection vulnerability in nodemailer. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 71.9% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference
Timeline
- 29-06-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSources5 sources · 6.3–8.8
- CVE.orgCNA6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:PDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.39%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
0.00 pp
From 1.39% on 19-09-2026
19-09-202619-10-2026
EPSS score1.39%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- node-nodemailer< 6.4.17-3
Nodemailer1 product
- nodemailer< 6.6.1
Npm1 product
- nodemailer< 6.6.1
Ubuntu1 product
- node-nodemailerAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1314737X Refsource MISCREPORTWEBExploitPatchThird Party Advisory
- github.com/nodemailer/nodemailer/commit/7e02648cc8cd863f5085bad3cd09087bccf84b9fX Refsource MISCREPORTWEBPatchThird Party Advisory