cvelo
P3 · MediumCVSS 4.8

STARTTLS response injection allows a man-in-the-middle to forge SMTP replies

  • GHSA-q3jf-wmp2-47pg
  • 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.

Text from the OSV record.

Affected

  • lettrecrates.io

    • from 0.0.0-0, fixed in 0.11.24

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.