CVE-2023-20862 Spring Security logout not clearing security context
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp active iq unified manager | All versions | No fix listed | No fix yet |
| org.springframework.security/spring-security-core(Maven) | = 5.7.0; = 5.7.1; = 5.7.2; = 5.7.3 +13 more | 5.7.8, 5.8.3, 6.0.3 | Fixed |
| VMware spring security | >= 5.7.0, < 5.7.8; >= 5.8.0, < 5.8.3; >= 6.0.0, < 6.0.3 | 5.7.8, 5.8.3, 6.0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security/spring-security-core(Maven) | >= 5.7.0, < 5.7.8 | 5.7.8 |
| org.springframework.security/spring-security-core(Maven) | >= 5.8.0, < 5.8.3 | 5.8.3 |
| org.springframework.security/spring-security-core(Maven) | >= 6.0.0, < 6.0.3 | 6.0.3 |
| org.springframework.security/spring-security-core(Maven) | = 5.7.0 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.1 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.2 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.3 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.4 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.5 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.6 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.7.7 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.8.0 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.8.1 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 5.8.2 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.0.0 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.0.1 | No fix listed |
| org.springframework.security/spring-security-core(Maven) | = 6.0.2 | No fix listed |
| VMware spring security | >= 5.7.0, < 5.7.8 | 5.7.8 |
| VMware spring security | >= 5.8.0, < 5.8.3 | 5.8.3 |
| VMware spring security | >= 6.0.0, < 6.0.3 | 6.0.3 |
| netapp active iq unified manager | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- spring.io vendor-advisory
- security.netapp.com third-party-advisory
- github.com
- github.com product