org.springframework.hateoas:spring-hateoas@1.0.5.RELEASE

  • latest version

    3.1.3

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    1 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.

    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
    • H
    Improperly Controlled Modification of Dynamically-Determined Object Attributes

    Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes in the PropertyUtils class, whose reflection-based binder for Collection+JSON and UBER request bodies resolves writable setters while honoring only @JsonIgnore, ignoring @JsonProperty(access = READ_ONLY). A user can modify a property the application intended to be read-only by sending a Collection+JSON or UBER payload whose field names that property, when the body is bound directly onto a domain type with a read-only property that has a setter. HAL and HAL-FORMS are not affected, the same payload sent as application/json is handled correctly, and applications binding to input DTOs without read-only properties are not affected.

    How to fix Improperly Controlled Modification of Dynamically-Determined Object Attributes?

    Upgrade org.springframework.hateoas:spring-hateoas to version 3.0.7, 3.1.4 or higher.

    [,3.0.7)[3.1.0-M1,3.1.4)
    • 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)