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-coreDetails
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.2Fix
# pom.xml: bump <version>5.1.2</version> for org.springframework.security:spring-security-coreMaven/org.springframework.security:spring-security-oauth2-jose
Introduced in:
5.1.0Fixed in: 5.1.2Fix
# pom.xml: bump <version>5.1.2</version> for org.springframework.security:spring-security-oauth2-joseReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-15801[ADVISORY]
- https://github.com/spring-projects/spring-security/commit/c70b65c5df0e170a2d34d812b83db0b7bc71ea25[WEB]
- https://github.com/advisories/GHSA-27xw-p8v6-9jjr[ADVISORY]
- https://github.com/spring-projects/spring-security[PACKAGE]
- https://pivotal.io/security/cve-2018-15801[WEB]