CVE-2022-31690
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.
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-05-08 |
Timeline
- 2022-10-31Published by the CNA00:00 UTC
- 2022-11-01GitHub advisory published (GHSA-32vj-v39g-jh23)1 day after publication
- 2025-05-08CISA SSVC decision recorded920 days after publication
Exploit and advisory records
GitHub advisory GHSA-32vj-v39g-jh23, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.springframework.security:spring-security-oauth2-client | before 5.6.9 | 5.6.9 |
| Maven org.springframework.security:spring-security-oauth2-client | from 5.7.0 before 5.7.5 | 5.7.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vmware spring_security | from 5.6.0 before 5.6.9fixed in 5.6.9from 5.7.0 before 5.7.5fixed in 5.7.5 | 5.6.95.7.5 |
| netapp active_iq_unified_manager |
References
- https://tanzu.vmware.com/security/cve-2022-31690
- https://security.netapp.com/advisory/ntap-20221215-0010/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-31690'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-31690'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-31690'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-31690'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).