GHSA-27xw-p8v6-9jjr
Spring Security vulnerable to Authorization Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | >= 5.1.0, < 5.1.2 | 5.1.2 |
| Maven | org.springframework.security:spring-security-oauth2-jose | >= 5.1.0, < 5.1.2 | 5.1.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
Spring Security versions 5.1.x prior to 5.1.2 contain an authorization bypass vulnerability during JWT issuer validation. In order to be impacted, the same private key for an honest issuer and a malicious user must be used when signing JWTs. In that case, a malicious user could fashion signed JWTs with the malicious issuer URL that may be granted for the honest issuer.
References
External links from the advisory. They lead to third-party sites.