ADVISORIES

GitHub Advisory Database

GHSA-27xw-p8v6-9jjr

Spring Security vulnerable to Authorization Bypass

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
From 5.1.0 before 5.1.2 (fixed in 5.1.2)
Mavenorg.springframework.security:spring-security-oauth2-jose
From 5.1.0 before 5.1.2 (fixed in 5.1.2)

References