CVE-2022-31690
published high CVSS 3.1 · 8.1spring-security-oauth2-client: Privilege Escalation in spring-security-oauth2-client
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Spring SecuritySpring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions) | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Spring Security | Spring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions) (affected) | vmware · cna |
Weaknesses
2- Privilege Escalation in spring-security-oauth2-client
- CWE-noinfo Not enough information
References
2Provider assertions
3vmware · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ece95b81f6d7f7772f3c151c222d9b650e2f13777a338ba3cb5d49e2317df8f4
- Ingested
- 23 Sep 2026, 08:00:34 UTC
- Source record
- Official CVE record