CVE Vulnerabilities

CVE-2021-23400

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jun 29, 2021 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
NodemailerNodemailer*6.6.1 (excluding)
Node-nodemailerUbuntufocal*
Node-nodemailerUbuntugroovy*
Node-nodemailerUbuntuhirsute*
Node-nodemailerUbuntuimpish*
Node-nodemailerUbuntukinetic*
Node-nodemailerUbuntutrusty*
Node-nodemailerUbuntuupstream*
Node-nodemailerUbuntuxenial*

Potential Mitigations

References