Security mailing lists by PureSourceCode

CVE-2023-20862

MEDIUM 6.3CVSS 3.1

Spring Security logout not clearing security context

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.

Published
19 Apr 2023
Last modified
17 Jun 2026
Assigned by
security@vmware.com
NVD status
Modified
Weakness
CWE-459
Also known as
GHSA-x873-6rgc-94jc
Sources
NVDJSONOSV GHSA-x873-6rgc-94jcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 5.7.0, < 5.7.8 5.7.8
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 5.8.0, < 5.8.3 5.8.3
NVD vmware spring_security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.3 6.0.3
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:*
(no version)
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
(no version)
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
(no version)
OSV Maven org.springframework.security:spring-security-core >= 5.7.0, < 5.7.8 5.7.8
OSV Maven org.springframework.security:spring-security-core >= 5.8.0, < 5.8.3 5.8.3
OSV Maven org.springframework.security:spring-security-core >= 6.0.0, < 6.0.3 6.0.3

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Apr 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.