GitHub Advisory Database
GHSA-cvc6-q2cp-2xhw
Spring Security has Potential Security Misconfiguration when Using withIssuerLocation
Details
Vulnerability in Spring Spring Security. When an application configures JWT decoding with NimbusJwtDecoder or NimbusReactiveJwtDecoder, it must configure an OAuth2TokenValidator<Jwt> separately, for example by calling setJwtValidator. This issue affects Spring Security: from 6.3.0 through 6.3.14, from 6.4.0 through 6.4.14, from 6.5.0 through 6.5.9, from 7.0.0 through 7.0.4.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security:spring-security-oauth2-jose | From 6.3.0 up to and including 6.3.14 |
| Maven | org.springframework.security:spring-security-oauth2-jose | From 6.4.0 up to and including 6.4.14 |
| Maven | org.springframework.security:spring-security-oauth2-jose | From 6.5.0 before 6.5.10 (fixed in 6.5.10) |
| Maven | org.springframework.security:spring-security-oauth2-jose | From 7.0.0 before 7.0.5 (fixed in 7.0.5) |