CVE-2022-31690 Spring Security
| Affected software | Spring Security |
|---|---|
| Severity | 8.1 High CVSS 3.1 2 scores |
| Fixed in | 5.7.5, 5.6.9 |
| Weakness | Improper privilege management (CWE-269) |
| Published | 31 Oct 2022 |
| Updated | 17 Jun 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 4 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 1.2% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
CVSS
8.1 HIGH
v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
8.1 HIGH v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CISA-ADP | Secondary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update January 2024 ↗ | CPU | 2024-Q1 | Oracle Financial Services Applications / Common Core (Spring Security) (14.5.0-14.7.0) |
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Financial Services Applications / Common (Spring Security) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0) Oracle Financial Services Applications / Dashboard (Spring Security) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0) Oracle Financial Services Applications / Security (Spring Security) (14.7.0.2.0, 14.7.1.0.0) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Communications / Authentication (Spring Security) (9.0.0, 9.0.1) Oracle Communications / Internal tools (Spring Security) (9.1.1.4.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Authentication (Spring Security) | 9.0.0, 9.0.1 | 9.0.0 · 9.0.1 |
| Oracle Communications | Internal tools (Spring Security) | 9.1.1.4.0 | 9.1.1.4.0 |
| Oracle Financial Services Applications | Common (Spring Security) | 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 | 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | Common Core (Spring Security) | 14.5.0-14.7.0 | |
| Oracle Financial Services Applications | Dashboard (Spring Security) | 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 | 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0 |
| Oracle Financial Services Applications | Security (Spring Security) | 14.7.0.2.0, 14.7.1.0.0 | 14.7.0.2.0 · 14.7.1.0.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-oauth2-client |
5.7.0 | 5.7.5 |
unbounded |
org.springframework.security:spring-security-oauth2-client |
0 | 5.6.9 |
unbounded |
Products and versions
3 products, 5 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | netapp | active iq unified manager | generic | any version |
| osv | org.springframework.security | spring-security-oauth2-client | generic | < 5.6.9 · ≥ 5.7.0 and < 5.7.5 |
| nvd | vmware | spring security | generic | ≥ 5.6.0 and < 5.6.9 · ≥ 5.7.0 and < 5.7.5 |
References
Timeline
Timeline
| Published | 2022-10-31 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |