org.springframework.hateoas:spring-hateoas@3.1.3

  • 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)