Improperly Controlled Modification of Dynamically-Determined Object AttributesAffected 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.
| |
HTTP Header InjectionAffected 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) |