HIGH 8.8

CVE-2016-4977

Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views

Description

When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security.oauth » spring-security-oauth2
>= 1.0.0, < 1.0.5>= 2.0.0, < 2.0.10
1.0.5, 2.0.10

Blast radius

1affected artifacts
17affected versions
299dependent artifacts (est.)
4,883dependent versions

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

DepthDependent versions
Direct
1,760
2 hops
1,714
3 hops
1,129
4 hops
220
5 hops
60

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.