GHSA-q3jf-wmp2-47pg
4.8medium
STARTTLS response injection allows a man-in-the-middle to forge SMTP replies
- Severity
- 4.8medium CVSS:3.1 by RustSec Advisory Database
- Published
- Last changed
- Also known as
- RUSTSEC-2026-0560
Description
A man-in-the-middle can append replies of their own to the cleartext reply to
STARTTLS. The client takes them for the server's replies to the commands it
then sends over TLS, so the attacker can, for example, make a message that the
server rejected look accepted.
Only connections upgraded with STARTTLS are affected (Tls::Required and
Tls::Opportunistic, as set up by starttls_relay). Implicit TLS
(Tls::Wrapper, as set up by relay) is not.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lettre (crates.io) | from 0.0.0-0 before 0.11.24 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0560 changed 2026-11-18 | CC0-1.0 |