Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    RUSTSEC-2026-0560 (GHSA-Q3JF-WMP2-47PG)

    Vulnerability from osv_rustsec – Published: 2026-11-17 12:00 – Updated: 2026-11-18 09:14 – Source website
    VLAI
    Summary
    STARTTLS response injection allows a man-in-the-middle to forge SMTP replies
    Details

    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": [
        {
          "database_specific": {
            "categories": [
              "crypto-failure"
            ],
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
            "informational": null
          },
          "ecosystem_specific": {
            "affected_functions": null,
            "affects": {
              "arch": [],
              "functions": [],
              "os": []
            }
          },
          "package": {
            "ecosystem": "crates.io",
            "name": "lettre",
            "purl": "pkg:cargo/lettre"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.0.0-0"
                },
                {
                  "fixed": "0.11.24"
                }
              ],
              "type": "SEMVER"
            }
          ],
          "versions": []
        }
      ],
      "aliases": [
        "GHSA-q3jf-wmp2-47pg"
      ],
      "database_specific": {
        "license": "CC0-1.0"
      },
      "details": "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\u0027s 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.",
      "id": "RUSTSEC-2026-0560",
      "modified": "2026-11-18T09:14:42Z",
      "published": "2026-11-17T12:00:00Z",
      "references": [
        {
          "type": "PACKAGE",
          "url": "https://crates.io/crates/lettre"
        },
        {
          "type": "ADVISORY",
          "url": "https://rustsec.org/advisories/RUSTSEC-2026-0560.html"
        },
        {
          "type": "WEB",
          "url": "https://github.com/lettre/lettre/commit/b404122f1b51cdfa32662661849aa3a22e02af38"
        }
      ],
      "related": [],
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
          "type": "CVSS_V3"
        }
      ],
      "summary": "STARTTLS response injection allows a man-in-the-middle to forge SMTP replies"
    }