Mail Auto-Configuration Does Not Enable SSL Hostname Verification
Spring Boot
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.boot:spring-boot-starter-mail Maven |
|
|
Original description
Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected.