GHSA-q3jf-wmp2-47pg
JSON

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 packageVersionsReported by
lettre (crates.io)from 0.0.0-0 before 0.11.24RustSec Advisory Database

References

Sources

SourceRecordLicence
RustSec Advisory DatabaseRUSTSEC-2026-0560 changed 2026-11-18CC0-1.0