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

  • latest version

    4.0.5

  • latest non vulnerable version

  • first published

    9 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.boot:spring-boot-elasticsearch 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

    Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch during the TLS handshake. When Spring Boot is configured to connect to Elasticsearch using an SSL bundle, the auto-configuration fails to verify that the hostname in the server's SSL certificate matched the actual hostname being connected to. While the certificate's signature and expiration might be validated, failing to check the hostname means an attacker could present any certificate signed by a trusted Certificate Authority (even one registered to an entirely different domain) and successfully intercept the traffic. This exposes the application to Man-in-the-Middle (MitM) attacks.

    How to fix Improper Validation of Certificate with Host Mismatch?

    Upgrade org.springframework.boot:spring-boot-elasticsearch to version 4.0.6 or higher.

    [,4.0.6)