org.springframework.boot:spring-boot-mail@4.0.4

  • latest version

    4.1.0

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.boot:spring-boot-mail package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Improper Validation of Certificate with Host Mismatch

    org.springframework.boot:spring-boot-mail is a

    Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch. via missing hostname verification in the auto-configuration. An attacker can impersonate a trusted mail server and intercept or manipulate SMTP communications because hostname verification is not enabled by default when establishing TLS-protected mail connections.

    Note: Applications that explicitly enable hostname verification, for example by setting spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected.

    How to fix Improper Validation of Certificate with Host Mismatch?

    Upgrade org.springframework.boot:spring-boot-mail to version 3.5.15, 4.0.7 or higher.

    [3.4.0,3.5.15)[4.0.0-M1,4.0.7)