Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-38189 EUVD-2021-1485GHSA-qc36-q22q-cjw3RUSTSEC-2021-0069

SMTP command injection in lettre

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io lettre >= 0.7.0, < 0.9.6 0.9.6 GHSA-qc36-q22q-cjw3
crates.io lettre >= 0.7.0, < 0.9.6 · >= 0.10.0-alpha.1, < 0.10.0-rc.3 0.9.6, 0.10.0-rc.3 RUSTSEC-2021-0069

References