spring-boot-autoconfigure is vulnerable to Improper Validation of Certificate with Host Mismatch
50
CVE Score
Medium
Improper Validation of Certificate with Host Mismatch
Spring Boot's mail auto-configuration does not enable SSL hostname verification by default for JavaMail connections. As a result, applications may fail to verify that the mail server's certificate matches the expected hostname, potentially allowing man-in-the-middle attacks when connecting to malicious or impersonated mail servers.
Upgrade the org.springframework.boot:spring-boot-autoconfigure library to a patch version.
You are affected if you are using a version that falls within the vulnerable range. Applications that explicitly enable hostname verification through JavaMail properties are not affected.
3.4.0 - 3.5.14
Fixed in 3.5.154.0.0 - 4.0.6
Fixed in 4.0.7spring-boot-autoconfigure is vulnerable to Improper Validation of Certificate with Host Mismatch in versions 3.4.0 - 3.5.14 and 4.0.0 - 4.0.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.