CVE-2018-15801
Spring Security vulnerable to Authorization Bypass
Description
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-core | >= 5.1.0, < 5.1.2 | 5.1.2 |
| org.springframework.security » spring-security-oauth2-jose | >= 5.1.0, < 5.1.2 | 5.1.2 |
Blast radius
13% of the dependent artifacts (115) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 524 |
| 2 hops | 1,441 |
| 3 hops | 1,454 |
| 4 hops | 1,491 |
| 5 hops | 180 |
| 6 hops | 1 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,610 usages
- org.springframework.security » spring-security-web2,138 usages
- org.springframework.security » spring-security-config2,068 usages
- org.springframework.security » spring-security-test1,310 usages
- org.springframework.security » spring-security-cas550 usages
- org.springframework.security » spring-security-oauth2-jose508 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.springframework.security » spring-security-oauth2-client481 usages
- org.springframework.boot » spring-boot-starter-oauth2-resource-server465 usages
- org.springframework.security » spring-security-ldap457 usages
- org.springframework.boot » spring-boot-starter-oauth2-client447 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.springframework.security » spring-security-oauth2-resource-server368 usages
- org.springframework.security » spring-security-taglibs334 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-15801 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-27xw-p8v6-9jjr | github.com |
| Package | spring-projects/spring-security | github.com |
| Web | spring-projects/spring-security commit c70b65c | github.com |
| Web | security/cve-2018-15801 | pivotal.io |
