This page lists Spring advisories.
CVE-2023-34040: Java Deserialization vulnerability in Spring-Kafka When Improperly Configured
Description
In Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, a possible deserialization attack vector existed, but only if unusual configuration was applied. An attacker would have to construct a malicious serialized object in one of the deserialization exception record headers.
Specifically, an application is vulnerable when all of the following are true:
- The user does not configure an ErrorHandlingDeserializer for the key and/or value of the record
- The user explicitly sets container properties checkDeserExWhenKeyNull and/or checkDeserExWhenValueNull container properties to true.
- The user allows untrusted sources to publish to a Kafka topic
By default, these properties are false, and the container only attempts to deserialize the headers if an ErrorHandlingDeserializer is configured. The ErrorHandlingDeserializer prevents the vulnerability by removing any such malicious headers…
CVE-2023-34034: WebFlux Security Bypass With Un-Prefixed Double Wildcard Pattern
Description
Using "**"
as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.
Affected Spring Products and Versions
Spring Security:
- 6.1.0 to 6.1.1
- 6.0.0 to 6.0.4
- 5.8.0 to 5.8.4
- 5.7.0 to 5.7.9
- 5.6.0 to 5.6.11 …
CVE-2023-34035: Authorization rules can be misconfigured when using multiple servlets
Description
Severity is high unless otherwise noted.
Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5 and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String)
or requestMatchers(HttpMethod, String)
and multiple servlets, one of them being…
CVE-2023-34036: Forwarded header exploit with Spring HATEOAS on WebFlux
CVE-2023-20883: Spring Boot Welcome Page DoS Vulnerability
CVE-2023-20873: Security Bypass With Wildcard Pattern Matching on Cloud Foundry
CVE-2023-20862: Empty SecurityContext Is Not Properly Saved Upon Logout
CVE-2023-20863: Spring Expression DoS Vulnerability
CVE-2023-20866: Session ID can be logged to the standard output stream in Spring Session
Reporting a vulnerability
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy