{"id":"GHSA-q3jf-wmp2-47pg","aliases":["GHSA-q3jf-wmp2-47pg","RUSTSEC-2026-0560"],"related":[],"kind":"vulnerability","state":"published","title":"STARTTLS response injection allows a man-in-the-middle to forge SMTP replies","summary":"A man-in-the-middle can append replies of their own to the cleartext reply to\n`STARTTLS`. The client takes them for the server's replies to the commands it\nthen sends over TLS, so the attacker can, for example, make a message that the\nserver rejected look accepted.\n\nOnly connections upgraded with `STARTTLS` are affected (`Tls::Required` and\n`Tls::Opportunistic`, as set up by `starttls_relay`). Implicit TLS\n(`Tls::Wrapper`, as set up by `relay`) is not.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"A man-in-the-middle can append replies of their own to the cleartext reply to\n`STARTTLS`. The client takes them for the server's replies to the commands it\nthen sends over TLS, so the attacker can, for example, make a message that the\nserver rejected look accepted.\n\nOnly connections upgraded with `STARTTLS` are affected (`Tls::Required` and\n`Tls::Opportunistic`, as set up by `starttls_relay`). Implicit TLS\n(`Tls::Wrapper`, as set up by `relay`) is not.","format":"markdown","source":"rustsec"}],"published":"2026-11-17T12:00:00.000Z","modified":"2026-11-18T09:15:02.378Z","severity":{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","score":4.8,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.11.24"}],"ecosystem":"crates.io","package":"lettre","purl":"pkg:cargo/lettre","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/lettre","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0560.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/lettre/lettre/commit/b404122f1b51cdfa32662661849aa3a22e02af38","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0560","url":"https://rustsec.org/advisories/RUSTSEC-2026-0560.html","licence":"CC0-1.0","modified":"2026-11-18T09:15:02.378Z"}],"updatedAt":"2026-11-25T22:56:43.515Z"}