GHSA-ww38-37g9-m3q3
Spring Security SAML2 Service Provider: Decryption Oracle Vulnerability from Unsigned SAML Response and Logout Payloads
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 7.0.0, < 7.0.6 | 7.0.6 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.5.0, < 6.5.11 | 6.5.11 |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.4.0, <= 6.4.16 | no fix listed |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 6.3.0, <= 6.3.16 | no fix listed |
| Maven | org.springframework.security:spring-security-saml2-service-provider | >= 5.8.0, <= 5.8.25 | no fix listed |
| Maven | org.springframework.security:spring-security-saml2-service-provider | <= 5.7.23 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
Since Spring Security SAML decrypts SAML Responses as well as elements of SAML LogoutRequests and LogoutResponses without requiring a valid signature, attackers may be able to craft these SAML payloads and use the Service Provider as a decryption oracle.
Affected versions:
Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.
References
External links from the advisory. They lead to third-party sites.