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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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 |