CVE-2021-38189

CRITICAL

lettre < 0.9.6 - SMTP Command Injection via Message Body

Title source: llm
STIX 2.1

Description

An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two <CR><LF> sequences and then inject arbitrary SMTP commands.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0069.html

Scores

CVSS v3 9.8
EPSS 0.0149
EPSS Percentile 70.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-77
Status published
Products (3)
crates.io/lettre 0.7.0 - 0.9.6crates.io
lettre/lettre 0.10.0 alpha1 (11 CPE variants)
lettre/lettre < 0.9.6
Published Aug 08, 2021
Tracked Since Feb 18, 2026