CVE-2023-20862
MEDIUMDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 48% of all known CVEs.
References
Related Vulnerabilities
Other CWE-459 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-17090 | High | 7.5 | 82% | - | Fix |
| CVE-2021-39327 | Medium | 5.3 | 72% | - | - |
| CVE-2025-31650 | High | 7.5 | 60% | - | Fix |
| CVE-2022-1552 | High | 8.8 | 12% | - | Fix |
| CVE-2018-18924 | High | 8.8 | 9.5% | - | - |
| CVE-2022-21125 | Medium | 5.5 | 6.5% | - | Fix |
Common questions
How do I fix CVE-2023-20862?
Published advisories record a fix for 4 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2023-20862 being actively exploited?
Not that we know of. CVE-2023-20862 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.65% is the estimated probability that it will be exploited in the next 30 days. That is higher than 48% of all scored CVEs.
How severe is CVE-2023-20862?
CVE-2023-20862 has a CVSS v3 base score of 6.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2023-20862 affect?
Published advisories record a fix for jenkins (Red Hat / RHEL), jenkins (Rocky), jenkins-2-plugins (Rocky), jenkins-2-plugins (Red Hat / RHEL). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2023-20862
Markdown
[](https://tridentstack.com/cve/CVE-2023-20862)HTML
<a href="https://tridentstack.com/cve/CVE-2023-20862"><img src="https://tridentstack.com/cve/badge/CVE-2023-20862.svg" alt="CVE-2023-20862"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-05.