CVE-2016-4977Pivotal Spring Security Oauth
High 8.8 High EPSS
Follow: this CVE · Pivotal · Pivotal Spring Security Oauth We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 8.8
- EPSS
- 80.0% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- May 25, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-19
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Spring Security Oauth.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.security.oauth:spring-security-oauth2 |
≥ 2.0.0 < 2.0.10 |
2.0.10 |
— |
| Maven | org.springframework.security.oauth:spring-security-oauth2 |
≥ 1.0.0 < 1.0.5 |
1.0.5 |
— |
Per OSV / GitHub Advisories (GHSA-7q9c-h23x-65fq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pivotal | spring_security_oauth | 1.0.0 |
| pivotal | spring_security_oauth | 1.0.1 |
| pivotal | spring_security_oauth | 1.0.2 |
| pivotal | spring_security_oauth | 1.0.3 |
| pivotal | spring_security_oauth | 1.0.4 |
| pivotal | spring_security_oauth | 1.0.5 |
| pivotal | spring_security_oauth | 2.0.0 |
| pivotal | spring_security_oauth | 2.0.1 |
| pivotal | spring_security_oauth | 2.0.2 |
| pivotal | spring_security_oauth | 2.0.3 |
| pivotal | spring_security_oauth | 2.0.4 |
| pivotal | spring_security_oauth | 2.0.5 |
| pivotal | spring_security_oauth | 2.0.6 |
| pivotal | spring_security_oauth | 2.0.7 |
| pivotal | spring_security_oauth | 2.0.8 |
| pivotal | spring_security_oauth | 2.0.9 |
Official sources
References
Links published by the sources. Open them with care.