Lettre
lettre has TLS hostname verification disabled when using Boring TLS backend
lettre is a a mailer library for Rust. Starting in version 0.10.1 and prior to version 0.11.22, an inverted-boolean bug in lettre's `boring-tls` integration silently disables TLS hostname verification for callers using the default (strict) configuration. An on-path attacker presenting any chain-valid certificate for any domain can intercept SMTP submission, including PLAIN/LOGIN credentials and message contents, against any lettre user built with the `boring-tls` feature. Other TLS backends (`native-tls`, `rustls`) are unaffected. Version 0.11.22 patches the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.10.1, < 0.11.22
Fixed in 0.11.22
Mitigation
Upgrade lettre to 0.11.22 or later.
References
- Vendor advisory github.com/lettre/lettre/security/advisories/G…
- Patch github.com/lettre/lettre/commit/f5efffc88360db…
- Release notes github.com/lettre/lettre/releases/tag/v0.11.22
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.