org.springframework.hateoas:spring-hateoas@1.5.1 vulnerabilities

  • latest version

    2.4.1

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    HTTP Header Injection

    Affected versions of this package are vulnerable to HTTP Header Injection via the handling of untrusted (X-)Forwarded headers. An attacker can manipulate hypermedia-based responses by injecting malicious content into these headers. This could lead to unauthorized access or misleading information being displayed to the user, compromising the application's data integrity and confidentiality. This is only exploitable if the application uses Spring WebFlux and Spring HATEOAS to generate links in hypermedia-based responses and does not have a mechanism to guard against clients submitting (X-)Forwarded headers.

    How to fix HTTP Header Injection?

    Upgrade org.springframework.hateoas:spring-hateoas to version 1.5.5, 2.0.5, 2.1.1 or higher.

    [,1.5.5)[2.0.0,2.0.5)[2.1.0,2.1.1)