CVE-2023-20862 Spring Security
| Affected software | Spring Security |
|---|---|
| Severity | 6.3 Medium CVSS 3.1 2 scores |
| Fixed in | 5.7.8, 5.8.3, 6.0.3 |
| Weakness | CWE-459 |
| Published | 19 Apr 2023 |
| Updated | 17 Jun 2026 |
Description
In Spring Security, versions 5.7.x prior to 5.7.8, versions 5.8.x prior to 5.8.3, and versions 6.0.x prior to 6.0.3, the logout support does not properly clean the security context if using serialized versions. Additionally, it is not possible to explicitly save an empty security context to the HttpSessionSecurityContextRepository. This vulnerability can keep users authenticated even after they performed logout. Users of affected versions should apply the following mitigation. 5.7.x users should upgrade to 5.7.8. 5.8.x users should upgrade to 5.8.3. 6.0.x users should upgrade to 6.0.3.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 3 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.65% 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
6.3 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
2 metrics
CVSS
6.3 MEDIUM v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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 | 6.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
NVD | Primary | published |
| CVSS 3.1 | 6.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
CISA-ADP | Secondary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2026 ↗ | CPU | 2026-Q2 | Oracle Financial Services Applications / Onboarding Batch Processes (Spring Security) (14.5.0.0.0-14.8.0.0.0) |
| Oracle Critical Patch Update October 2023 ↗ | CPU | 2023-Q4 | Oracle Financial Services Applications / Installer (Spring Security) (8.1.2.3, 8.1.2.4) |
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Communications / Configuration (Spring Security) (23.1.1, 22.4.2) Oracle Communications / Configuration (Spring Security) (23.1.2, 22.4.3) Oracle Communications / Install/Upgrade (Spring Security) (22.4.0, 23.1.0) Oracle Communications / Install/Upgrade (Spring Security) (22.4.0, 23.1.0) Oracle Communications / Installation (Spring Security) (23.1.0, 22.4.2) Oracle Communications / Platform (Spring Security) (22.4.3, 23.1.2) Oracle Communications Applications / Security (Spring Security) (7.4.1, 7.4.2) Oracle MySQL / Monitoring: General (Spring Security) (8.0.34 and prior) Oracle Utilities Applications / Tools (Spring Security) (6.0.0.1-6.0.0.3, 7.0.0.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Configuration (Spring Security) | 23.1.1, 22.4.2 | 22.4.2 · 22.4.3 · 23.1.1 · 23.1.2 |
| Oracle Communications | Install/Upgrade (Spring Security) | 22.4.0, 23.1.0 | 22.4.0 · 23.1.0 |
| Oracle Communications | Installation (Spring Security) | 23.1.0, 22.4.2 | 22.4.2 · 23.1.0 |
| Oracle Communications | Platform (Spring Security) | 22.4.3, 23.1.2 | 22.4.3 · 23.1.2 |
| Oracle Communications Applications | Security (Spring Security) | 7.4.1, 7.4.2 | 7.4.1 · 7.4.2 |
| Oracle Financial Services Applications | Installer (Spring Security) | 8.1.2.3, 8.1.2.4 | 8.1.2.3 · 8.1.2.4 |
| Oracle Financial Services Applications | Onboarding Batch Processes (Spring Security) | 14.5.0.0.0-14.8.0.0.0 | |
| Oracle MySQL | Monitoring: General (Spring Security) | 8.0.34 and prior | |
| Oracle Utilities Applications | Tools (Spring Security) | 6.0.0.1-6.0.0.3, 7.0.0.0 | 7.0.0.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-core |
5.7.0 | 5.7.8 |
unbounded |
org.springframework.security:spring-security-core |
5.8.0 | 5.8.3 |
unbounded |
org.springframework.security:spring-security-core |
6.0.0 | 6.0.3 |
unbounded |
Products and versions
3 products, 7 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | netapp | active iq unified manager | generic | any version |
| osv | org.springframework.security | spring-security-core | generic | ≥ 5.7.0 and < 5.7.8 · ≥ 5.8.0 and < 5.8.3 · ≥ 6.0.0 and < 6.0.3 |
| nvd | vmware | spring security | generic | ≥ 5.7.0 and < 5.7.8 · ≥ 5.8.0 and < 5.8.3 · ≥ 6.0.0 and < 6.0.3 |
References
Timeline
Timeline
| Published | 2023-04-19 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |