CVE-2022-31690

spring-security-oauth2-client: Privilege Escalation in spring-security-oauth2-client

Published Oct 31, 2022 CVSS 3.1 · 8.1 High EPSS 1.2% KEV · Not listed
Description
Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-7201 Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.
Github GHSA Github GHSA GHSA-32vj-v39g-jh23 spring-security-oauth2-client vulnerable to Privilege Escalation
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
May 8, 2025, 6:47 PM
Reserved
May 25, 2022, 12:00 AM
Status
Modified
Published
Oct 31, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:46 AM
Severity
Important
Public date
Oct 31, 2022, 12:00 AM