CVE-2016-4977
HIGH 8.8CVSS 3.0Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views
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.
- Published
- 25 May 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security_alert@emc.com
- NVD status
- Modified
- Weakness
- CWE-19
- Also known as
- GHSA-7q9c-h23x-65fq
- Sources
- NVDJSONOSV GHSA-7q9c-h23x-65fqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.1:*:*:*:*:*:*:* |
= 1.0.1 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.2:*:*:*:*:*:*:* |
= 1.0.2 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.3:*:*:*:*:*:*:* |
= 1.0.3 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.4:*:*:*:*:*:*:* |
= 1.0.4 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:1.0.5:*:*:*:*:*:*:* |
= 1.0.5 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.3:*:*:*:*:*:*:* |
= 2.0.3 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.4:*:*:*:*:*:*:* |
= 2.0.4 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.5:*:*:*:*:*:*:* |
= 2.0.5 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.6:*:*:*:*:*:*:* |
= 2.0.6 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.7:*:*:*:*:*:*:* |
= 2.0.7 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.8:*:*:*:*:*:*:* |
= 2.0.8 | |
| NVD | pivotal | spring_security_oauthcpe:2.3:a:pivotal:spring_security_oauth:2.0.9:*:*:*:*:*:*:* |
= 2.0.9 | |
| OSV | Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 2.0.0, < 2.0.10 | 2.0.10 |
| OSV | Maven | org.springframework.security.oauth:spring-security-oauth2 | >= 1.0.0, < 1.0.5 | 1.0.5 |
References
- http://www.openwall.com/lists/oss-security/2019/10/16/1 · WEB
- https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E
- https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E
- https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E
- https://pivotal.io/security/cve-2016-4977 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-4977 · ADVISORY
- https://github.com/advisories/GHSA-7q9c-h23x-65fq · ADVISORY
- https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@%3Cdev.fineract.apache.org%3E · WEB
- https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@%3Cdev.fineract.apache.org%3E · WEB
- https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@%3Cannounce.apache.org%3E · WEB
- https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@%3Cdev.fineract.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 25 May 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Oct 2018)