CVE-2023-20862: Medium severity VMware Spring Security vulnerability

Published Apr 19, 2023
·
Updated

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.

Affected Software

12 affected componentsFixes available
maven/org.springframework.security:spring-security-core>=6.0.0<6.0.3
6.0.3
maven/org.springframework.security:spring-security-core>=5.8.0<5.8.3
5.8.3
maven/org.springframework.security:spring-security-core>=5.7.0<5.7.8
5.7.8
redhat/spring-security<5.7.8
5.7.8
redhat/spring-security<5.8.3
5.8.3
redhat/spring-security<6.0.3
6.0.3
VMware Spring Security>=5.7.0<5.7.8
VMware Spring Security>=5.8.0<5.8.3
VMware Spring Security>=6.0.0<6.0.3
NetApp Active Iq Unified Manager Linux
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.springframework.security:spring-security-core to a version that resolves this vulnerability.

    Fixed in 6.0.3
  2. Upgrade

    Upgrade maven/org.springframework.security:spring-security-core to a version that resolves this vulnerability.

    Fixed in 5.8.3
  3. Upgrade

    Upgrade maven/org.springframework.security:spring-security-core to a version that resolves this vulnerability.

    Fixed in 5.7.8
  4. Upgrade

    Upgrade redhat/spring-security to a version that resolves this vulnerability.

    Fixed in 5.7.8
  5. Upgrade

    Upgrade redhat/spring-security to a version that resolves this vulnerability.

    Fixed in 5.8.3
  6. Upgrade

    Upgrade redhat/spring-security to a version that resolves this vulnerability.

    Fixed in 6.0.3
  7. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 5.7.8
  8. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 5.8.3
  9. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 6.0.3
  10. Compensating control

    Apply the mitigation mentioned in the referenced Spring Security advisory for CVE-2023-20862 (Spring Security logout does not properly clean the security context when using serialized versions), since logout may not clear authentication after logout.

Event History

Apr 19, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Advisory Published
09:30 PM
Jul 31, 2023
Data Sourced
via Red Hat·01:47 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-20862?

CVE-2023-20862 is a vulnerability 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 that affects the logout support feature.

2

How does CVE-2023-20862 impact Spring Security?

CVE-2023-20862 impacts Spring Security by not properly cleaning the security context during logout if using serialized versions, and by not allowing saving an empty security context to the Http.

3

What is the severity of CVE-2023-20862?

CVE-2023-20862 has a severity keyword of 'medium' and a CVSS severity value of 6.3.

4

How can I fix CVE-2023-20862?

To fix CVE-2023-20862, you should upgrade to Spring Security versions 5.7.8, 5.8.3, or 6.0.3.

5

Where can I find more information about CVE-2023-20862?

You can find more information about CVE-2023-20862 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-20862), [Spring Security](https://spring.io/security/cve-2023-20862), [Netapp Advisory](https://security.netapp.com/advisory/ntap-20230526-0002/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203