- Reported
-
- Issued
-
- Package
-
lettre
(crates.io)
- Type
-
Vulnerability
- Categories
-
- Keywords
-
#smtp
#panic
- Aliases
-
- References
-
- Patched
-
- Affected Functions
- Version
lettre::smtp::extension::ServerInfo::from_response
-
lettre::transport::smtp::extension::ServerInfo::from_response
-
>=0.10.0-alpha.1, <0.11.24
Description
A malicious or compromised server can reply to EHLO with a line holding
nothing but white space, causing the client to panic.
Applications that connect only to a trusted server over implicit TLS are not
exposed; the risk applies to clients that may connect to untrusted servers, or
that use STARTTLS or no TLS, where a man-in-the-middle can forge the reply.
Advisory available under CC0-1.0
license.