VDB
Sign up
HIGH7.4

GHSA-27xw-p8v6-9jjr

Spring Security vulnerable to Authorization Bypass

Quick fix

GHSA-27xw-p8v6-9jjr — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.1.2</version> for org.springframework.security:spring-security-core

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework.security:spring-security-core
Introduced in: 5.1.0Fixed in: 5.1.2
Fix# pom.xml: bump <version>5.1.2</version> for org.springframework.security:spring-security-core
Maven/org.springframework.security:spring-security-oauth2-jose
Introduced in: 5.1.0Fixed in: 5.1.2
Fix# pom.xml: bump <version>5.1.2</version> for org.springframework.security:spring-security-oauth2-jose

References