Description
Since Symfony 7.3, the require_tls option of EsmtpTransport refuses to send a message over a connection that isn't encrypted. It prevents a network attacker from stripping STARTTLS. But when the server rejected the EHLO command, the transport fell back to HELO and skipped that check. An attacker in the middle of an SMTP connection that uses STARTTLS could answer EHLO with an error and HELO with a success. The transport then sent the sender, the recipients and the whole message in cleartext, and reported success. No AUTH command is sent on that path, so credentials don't leak. Connections that use implicit TLS, with smtps:// or port 465, are not affected. Since Symfony 8.1, the Amazon SES SMTP transport enables require_tls by default on ports other than 465 and 2465. So ses+smtp:// DSNs are affected without setting the option. When TLS is required and the connection isn't encrypted, the transport doesn't fall back to HELO anymore. It throws the same exception as when the server doesn't support STARTTLS.
Details
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
CVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readHow to Check Whether Your Software Version Is Affected by a CVEA version match is a starting point, not a verdict. A step-by-step method to confirm exposure using advisories, version ranges and backport notes.Intermediate · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.