Live threats

All CVEs / Pivotal

CVE-2016-4977Pivotal Spring Security Oauth

High 8.8 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring Security Oauth.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pivotalspring_security_oauth1.0.0
pivotalspring_security_oauth1.0.1
pivotalspring_security_oauth1.0.2
pivotalspring_security_oauth1.0.3
pivotalspring_security_oauth1.0.4
pivotalspring_security_oauth1.0.5
pivotalspring_security_oauth2.0.0
pivotalspring_security_oauth2.0.1
pivotalspring_security_oauth2.0.2
pivotalspring_security_oauth2.0.3
pivotalspring_security_oauth2.0.4
pivotalspring_security_oauth2.0.5
pivotalspring_security_oauth2.0.6
pivotalspring_security_oauth2.0.7
pivotalspring_security_oauth2.0.8
pivotalspring_security_oauth2.0.9

Official sources

References

Links published by the sources. Open them with care.