HIGH 7.4

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)

ArtifactAffected versionsFixed 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

2affected artifacts
4affected versions
867dependent artifacts (est.)
5,091dependent versions

13% of the dependent artifacts (115) still pull an affected version in their latest release.

DepthDependent versions
Direct
524
2 hops
1,441
3 hops
1,454
4 hops
1,491
5 hops
180
6 hops
1

Most used dependents

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.